Skip to content

ToolPermissions

Category: Orchestrator

Source: tool_permissions.dart

Shared tool permission presets used by interactive sessions and subagents.

Classes

ToolPermissions

Shared tool permission presets used by interactive sessions and subagents.

Properties

PropertyTypeDescription
subagentSafeToolsconst Set<String>Read-only tools that are safe to auto-allow for subagents. Includes web fetch/search/browser: these are external reads with no local side effects, and a subagent that can't pull a URL or hit a search engine can't meaningfully decompose research tasks. Spawn tools are intentionally omitted here and added by [AgentManager] per depth, so recursion stays bounded.
defaultTrustedToolsconst Set<String>Interactive session defaults for trusted tools.

Released under the MIT License.