erio-tools
erio-tools defines the tool execution layer for Erio: a Tool trait,
JSON-schema-like input modeling, result types, and an in-memory registry.
Use it when you want an agent to discover tools, validate parameters, and invoke tool implementations consistently.
Quickstart
use ;
let mut _registry = new;
let _schema = builder
.property
.build;
let _ok = success;
API tour
- Key types:
Tool,ToolRegistry,ToolResult - Schema helpers:
ToolSchema,ToolSchemaBuilder,PropertyType - Error re-export:
ToolError(fromerio-core)
Related crates
- Built on
erio-corefor shared error/message contracts. - Commonly paired with
erio-llm-clientto expose tools to LLM providers. - Docs: https://docs.rs/erio-tools
- Source: https://github.com/NomanworkGroup/erio/tree/main/crates/tools
Compatibility
- MSRV: Rust 1.93
- License: Apache-2.0