Skip to main content

rig_core/tool/
mod.rs

1//! Portable tool contracts and canonical execution values.
2//!
3//! The context-free [`PortableTool`] boundary can be adapted by any runtime
4//! without importing a registry, mutable context, lifecycle state, or executor.
5
6pub mod builtin;
7mod output;
8pub mod portable;
9mod result;
10pub use output::{IntoToolOutput, ToolOutput};
11pub use portable::{
12    PortableDynamicTool, PortableTool, PortableToolEmbedding, portable_tool_definition,
13};
14pub use result::{ToolErrorKind, ToolExecutionError, ToolResult};