Structs§
Enums§
- Tool
Concurrency Class - Classification for parallel tool execution within a single agent turn.
- Tool
Execution Policy - Tool
Risk - Declaration order is the risk ordering (Low < Medium < High) — the derived
Ordis relied on by the tool-policymax_riskcomparison.
Constants§
- HIGH_
RISK_ APPROVED_ KEY - Input marker injected after explicit operator approval so a high-risk tool (or an in-tool gate like bash dangerous patterns / sandboxed A2A peers) executes on retry. Shared across crates so a rename can’t silently desync the producers and consumers.
Traits§
Functions§
- auth_
context_ from_ input - authorize_
chat_ access - chat_
working_ dir - inject_
auth_ context - parse_
concurrency_ class - Parse a concurrency class from a config string.
- require_
high_ risk_ approval - require_
high_ risk_ approval_ with_ risk - Like
require_high_risk_approvalbut with the tool’s effective risk supplied by the caller — used when a registration-time override (e.g. an MCP server trust tier) replaces the name-derived risk. - resolve_
tool_ path - resolve_
tool_ working_ dir - schema_
object - tool_
concurrency_ class - Returns the concurrency class for a built-in tool.
MCP tools (prefixed with
mcp_) default toSideEffect. Callers may override viatool_concurrency_overridesconfig. - tool_
execution_ policy - tool_
risk - validate_
execution_ policy - working_
dir_ for_ context