Expand description
Agent tools + registry. Port of the reusable shape of agent_core/tools/.
A tool exposes a JSON-Schema interface to the model and an async
implementation. The registry resolves the name the model emits in a
tool_call to an implementation, exposes the LLM-facing specs, and runs
the call. Domain tools live in a product
crate and register here.
Modules§
Structs§
- Cancellation
Token - Tool
Execution Context - Tool
Meta - Tool
Registry - Registry of tools available to an agent.
Enums§
Traits§
- Tool
- A callable tool.
parametersis a JSON-Schema object describing the args.