Expand description
Tool dispatch utilities for the klieo agent framework.
Provides ChainedInvoker, a klieo_core::ToolInvoker impl
that:
- Looks up tools by name in a registered set.
- Validates JSON arguments against the tool’s declared
json_schemabefore invocation (rejects malformed model output early). - Wraps each invocation in a
tokio::time::timeoutso a hung tool cannot stall the runtime indefinitely.
Tools themselves can be hand-rolled impl Tool types or generated
by the #[tool] macro shipped in klieo-macros (Plan #4).
Re-exports§
pub use validation::validate_args;pub use invoker::ChainedInvoker;pub use invoker::InvokerError;
Modules§
- invoker
ChainedInvoker— name-based tool dispatch with JSON-schema arg validation and per-tool timeout enforcement.- validation
- JSON-schema argument validation.