docs(tools): document agent tool allow/deny
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
- WhatsApp: suppress typing indicator during heartbeat background tasks. (#190) — thanks @mcinteerj
|
- WhatsApp: suppress typing indicator during heartbeat background tasks. (#190) — thanks @mcinteerj
|
||||||
- Onboarding: when running from source, auto-build missing Control UI assets (`pnpm ui:build`).
|
- Onboarding: when running from source, auto-build missing Control UI assets (`pnpm ui:build`).
|
||||||
- Discord/Slack: route reaction + system notifications to the correct session (no main-session bleed).
|
- Discord/Slack: route reaction + system notifications to the correct session (no main-session bleed).
|
||||||
|
- Agent tools: honor `agent.tools` allow/deny policy even when sandbox is off.
|
||||||
|
|
||||||
## 2026.1.5
|
## 2026.1.5
|
||||||
|
|
||||||
|
|||||||
@@ -508,6 +508,20 @@ Z.AI models are available as `zai/<model>` (e.g. `zai/glm-4.7`) and require
|
|||||||
- `timeoutSec`: auto-kill after this runtime (seconds, default 1800)
|
- `timeoutSec`: auto-kill after this runtime (seconds, default 1800)
|
||||||
- `cleanupMs`: how long to keep finished sessions in memory (ms, default 1800000)
|
- `cleanupMs`: how long to keep finished sessions in memory (ms, default 1800000)
|
||||||
|
|
||||||
|
`agent.tools` configures a global tool allow/deny policy (deny wins).
|
||||||
|
This is applied even when the Docker sandbox is **off**.
|
||||||
|
|
||||||
|
Example (disable browser/canvas everywhere):
|
||||||
|
```json5
|
||||||
|
{
|
||||||
|
agent: {
|
||||||
|
tools: {
|
||||||
|
deny: ["browser", "canvas"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
`agent.elevated` controls elevated (host) bash access:
|
`agent.elevated` controls elevated (host) bash access:
|
||||||
- `enabled`: allow elevated mode (default true)
|
- `enabled`: allow elevated mode (default true)
|
||||||
- `allowFrom`: per-surface allowlists (empty = disabled)
|
- `allowFrom`: per-surface allowlists (empty = disabled)
|
||||||
|
|||||||
@@ -11,6 +11,21 @@ Clawdbot exposes **first-class agent tools** for browser, canvas, nodes, and cro
|
|||||||
These replace the old `clawdbot-*` skills: the tools are typed, no shelling,
|
These replace the old `clawdbot-*` skills: the tools are typed, no shelling,
|
||||||
and the agent should rely on them directly.
|
and the agent should rely on them directly.
|
||||||
|
|
||||||
|
## Disabling tools
|
||||||
|
|
||||||
|
You can globally allow/deny tools via `agent.tools` in `clawdbot.json`
|
||||||
|
(deny wins). This prevents disallowed tools from being sent to providers.
|
||||||
|
|
||||||
|
```json5
|
||||||
|
{
|
||||||
|
agent: {
|
||||||
|
tools: {
|
||||||
|
deny: ["browser"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Tool inventory
|
## Tool inventory
|
||||||
|
|
||||||
### `bash`
|
### `bash`
|
||||||
|
|||||||
Reference in New Issue
Block a user