Skip to main content

Module tools

Module tools 

Source
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::verify_parameter_types;

Modules§

search_index
Progressive tool discovery via hybrid semantic + keyword search.

Structs§

BinaryResult
Binary result from tool execution.
CompositeToolProvider
A ToolProvider that aggregates tools from multiple child providers.
StaticToolProvider
A ToolProvider backed by a fixed, pre-built list of tools.
StructuredTool
A structured tool with a typed schema and a closure for execution.
StructuredToolBuilder
Builder for StructuredTool.
ToolAnnotations
Tool annotations for safety and behavior hints.
ToolConfig
Per-tool operational configuration.
ToolOutput
Output from a tool invocation.
ToolSchema
Schema describing a tool’s interface.

Enums§

NameCollisionPolicy
Policy for handling tool name collisions in a CompositeToolProvider.
TimeoutBehavior
Behaviour when a tool invocation exceeds its configured timeout.
ToolCategory
Category of a tool indicating its origin and deployment context.
ToolContentType
Content types that tools can produce.
ToolKind
Intended operation type of a tool, used for permission UIs.
ToolResult
Result of a tool invocation.
ToolResultStatus
Tool result status.

Traits§

Tool
Trait for callable tools.
ToolProvider
Abstracts over sources of tools.

Functions§

validate_tool_name
Validate a tool name against the pattern ^[a-zA-Z0-9_.\-]{1,64}$.