Module tool

Module tool 

Source
Expand description

Tool trait for agent actions.

Tools execute actions and can modify state through Thread.

Structs§

ToolDescriptor
Tool descriptor containing metadata.
ToolExecutionEffect
Structured tool effect used by the action/reducer pipeline.
ToolResult
Result of tool execution.

Enums§

ToolError
Tool execution errors.
ToolStatus
Tool execution status.

Traits§

Tool
Tool trait for implementing agent tools.
TypedTool
Strongly-typed variant of Tool with automatic JSON Schema generation.

Functions§

validate_against_schema
Validate a JSON value against a JSON Schema.