Expand description
Tool types, traits, and schemas.
Re-exports§
pub use search_index::DisclosureDepth;pub use search_index::IntentExtractor;pub use search_index::QueryPreprocessor;pub use search_index::ToolSearchArgs;pub use search_index::ToolSearchIndex;pub use search_index::ToolSearchResult;pub use search_index::ToolTransitionGraph;pub use search_index::allocate_budget;pub use search_index::run_tool_list;pub use search_index::run_tool_search;pub use search_index::verify_parameter_types;
Modules§
- search_
index - Progressive tool discovery via hybrid semantic + keyword search.
Structs§
- Binary
Result - Binary result from tool execution.
- Composite
Tool Provider - A
ToolProviderthat aggregates tools from multiple child providers. - Static
Tool Provider - A
ToolProviderbacked by a fixed, pre-built list of tools. - Structured
Tool - A structured tool with a typed schema and a closure for execution.
- Structured
Tool Builder - Builder for
StructuredTool. - Tool
Annotations - Tool annotations for safety and behavior hints.
- Tool
Config - Per-tool operational configuration.
- Tool
Output - Output from a tool invocation.
- Tool
Schema - Schema describing a tool’s interface.
Enums§
- Name
Collision Policy - Policy for handling tool name collisions in a
CompositeToolProvider. - Timeout
Behavior - Behaviour when a tool invocation exceeds its configured timeout.
- Tool
Category - Category of a tool indicating its origin and deployment context.
- Tool
Content Type - Content types that tools can produce.
- Tool
Kind - Intended operation type of a tool, used for permission UIs.
- Tool
Result - Result of a tool invocation.
- Tool
Result Status - Tool result status.
Traits§
- Tool
- Trait for callable tools.
- Tool
Provider - Abstracts over sources of tools.
Functions§
- validate_
tool_ name - Validate a tool name against the pattern
^[a-zA-Z0-9_.\-]{1,64}$.