🦞
Resources

openclaw_tools

Manages the OpenClaw tool access control configuration.

Manages tool access control including profiles, allow/deny lists, and elevated/browser tool toggles.

This is a singleton resource.

Example Usage

Use a preset profile

resource "openclaw_tools" "main" {
  profile         = "coding"
  elevated_enabled = false
  browser_enabled  = true
}

Fine-grained allow/deny lists

resource "openclaw_tools" "main" {
  allow = ["bash", "read", "write", "glob", "grep", "edit"]
  deny  = ["rm", "curl"]

  elevated_enabled = false
  browser_enabled  = false
}

Argument Reference

ArgumentTypeRequiredDescription
profileStringNoTools profile: minimal, coding, messaging, or full.
allowList(String)NoExplicit list of tool names to allow.
denyList(String)NoExplicit list of tool names to deny.
elevated_enabledBoolNoEnable elevated (privileged) tool execution.
browser_enabledBoolNoEnable browser-based tools.

Attribute Reference

AttributeTypeDescription
idStringAlways "tools".

Import

terraform import openclaw_tools.main tools

On this page