Structs§
- Configured
Tool Spec - A
ToolSpectogether with its runtime configuration. - 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
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.
- Tool
Spec - Specification that describes a tool available in the registry.
Enums§
- Approval
Requirement - Approval requirement for a tool.
- Function
Call Error - Errors that can occur during tool dispatch and execution.
- 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.
Traits§
- Tool
Handler - Trait implemented by concrete tool handlers.
Functions§
- optional_
bool - Helper to extract an optional bool field with 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.