//! 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_schema`
//! before invocation (rejects malformed model output early).
//! - Wraps each invocation in a `tokio::time::timeout` so 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).
pub use validate_args;
pub use ChainedInvoker;