Skip to content

Commit 55f881f

Browse files
j15zclaude
andauthored
docs(agent): document the variable tool Permission Mode (#7832)
Describe where each agent tool's Permission Mode lives and how to set it from a variable that resolves to auto, force, or none. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 2e08162 commit 55f881f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • apps/docs/content/docs/workflows/blocks

apps/docs/content/docs/workflows/blocks/agent.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ Files for the model to read: images for a vision-capable model, or documents for
3333

3434
### Tools
3535

36-
Capabilities the agent can call while it runs: search a knowledge base, send a Slack message, run a [Function](/workflows/blocks/function), call any of the [integrations](/integrations), or use a [custom tool](/agents/custom-tools) or [MCP server](/agents/mcp) you've added. The model decides which to call and when. (For where tools come from and when to reach for which, see [Agents](/agents).) Each tool has a usage control:
36+
Capabilities the agent can call while it runs: search a knowledge base, send a Slack message, run a [Function](/workflows/blocks/function), call any of the [integrations](/integrations), or use a [custom tool](/agents/custom-tools) or [MCP server](/agents/mcp) you've added. The model decides which to call and when. (For where tools come from and when to reach for which, see [Agents](/agents).) Expand a tool to set its **Permission Mode**:
3737

3838
- **Auto.** The model calls it when the context warrants.
3939
- **Force.** The model must call it on every run.
4040
- **None.** The tool is hidden from the model, which disables it without removing it from the block.
4141

42+
To pick the mode when the workflow runs, use the switch next to Permission Mode to change it to a variable, then enter a reference such as `<start.toolMode>`. The value must resolve to `auto`, `force`, or `none`. Any other value stops the run before the model is called.
43+
4244
### Skills
4345

4446
[Agent skills](/agents/skills) the agent can load on demand: reusable instruction packages like a coding standard or a support playbook. Only the skill names sit in context up front, and the agent loads the full instructions when it decides a skill is relevant.

0 commit comments

Comments
 (0)