Expand description
Tool hosting and approval.
The runtime never executes a tool itself. It resolves the call, re-checks the
artifact’s policy, and hands the invocation to a ToolHost the operator
supplied. The default host denies everything, so a tool runs only because
somebody chose to provide it.
Structs§
- Approval
Request - Deny
AllTools - Refuses every tool. The default, so nothing runs by accident.
- Scripted
Approvals - Answers from a fixed list, then denies. Test scaffolding.
- Static
Tool Host - Serves tools from an in-process table. Test scaffolding, and the basis for the MCP host that replaces it.
- Tool
Invocation - One resolved tool call.
Enums§
- Approval
Mode - What the runtime should do when it reaches an
approvalnode. - Tool
Error
Traits§
- Approval
Handler - Asked whether a gated action may proceed.
- Tool
Host - Something that can execute a tool call.