Structs§
- Configured
Tool Descriptor - A
ToolDescriptortogether with its runtime configuration. - Prepared
Tool Call - A side-effect-free, input-specific tool decision prepared for authority checks and scheduling.
- Tool
Call - A tool invocation request before it has been validated and dispatched.
- Tool
Call Runtime - Manages concurrent tool execution via a read/write lock.
- Tool
Descriptor - Descriptor that describes a tool available in the registry.
- Tool
Execution Outcome - Terminal wrapper around the v0.9.1-compatible tool result/error contract.
- Tool
Invocation - A validated tool invocation ready to be handled.
- Tool
Registry - Central registry that maps tool names to their specs and handlers.
- Tool
Result - Result of a tool execution.
Enums§
- Approval
Requirement - Approval requirement for a tool.
- Function
Call Error - Errors that can occur during tool dispatch and execution.
- Resource
Claim - A conservative resource claim calculated before a tool may execute.
- Tool
Call Source - Identifies where a tool call originated from.
- Tool
Capability - Capabilities that a tool may have or require.
- Tool
Error - Errors that can occur during tool execution.
- Tool
Result Content Block - Provider-neutral non-text content returned alongside a tool result.
- Tool
Terminal Status - Machine-readable terminal state for one tool call.
Traits§
- Tool
Handler - Trait implemented by concrete tool handlers.
Functions§
- json_
type_ name - Name the JSON type of a value the way a tool schema would spell it.
- optional_
bool - Helper to extract an optional bool field with default.
- optional_
bool_ opt - Helper to extract an optional bool that has no default.
- optional_
str - Helper to extract an optional string field from JSON input.
- optional_
u64 - Helper to extract an optional u64 field with default.
- required_
str - Helper to extract a required string field from JSON input.
- required_
u64 - Helper to extract a required u64 field from JSON input.
- schedule_
non_ conflicting - Build deterministic parallel batches. Items with no conflicting resource claims share a batch; conflicting items retain their original order.
- type_
mismatch - The one error every type mismatch on a tool parameter produces.
- value_
preview - Render a value for an error message, truncated so a huge payload cannot swamp the transcript.