Rules
Rules let you decide for specific tools, whatever the permission mode says. Find them under Permissions → Rules.
Add a rule
- Under Rules, type one or more tool names, separated by commas, like
fs_delete, process_kill. - Choose what happens: Always run, Always ask first or Block.
- Click Add rule.
Patterns
Use * to match many tools at once:
| Pattern | Matches |
|---|---|
| fs_* | Every file tool: fs_read, fs_write, fs_delete… |
| github__* | Every tool from a connected server named github. |
| *_delete | Every tool whose name ends in _delete. |
Order matters
Rules are checked from top to bottom, and the first rule that matches a tool decides. Put specific rules above general ones. For example, "Always run fs_read" above "Always ask first fs_*" lets reading through while every other file tool asks.
Use the arrows to move a rule, Edit to change it and Remove to delete it.
Rules from the Tools page
Choosing Always run, Always ask first or Block for a tool on the Tools page adds a rule here for that tool, placed above any rule that would otherwise decide it. Setting it back to Automatic removes that rule.
Tip: A Block rule is the surest way to keep a tool from ever running, even in Trusted mode.
See also Permission modes.