Expand description
Portable tool contracts and canonical execution values.
The context-free PortableTool boundary can be adapted by any runtime
without importing a registry, mutable context, lifecycle state, or executor.
Re-exports§
pub use portable::PortableDynamicTool;pub use portable::PortableTool;pub use portable::PortableToolEmbedding;pub use portable::portable_tool_definition;
Modules§
- builtin
- Built-in tools shipped with
rigthat agents can use out of the box. - portable
- Context-free tool authoring contracts.
Structs§
- Tool
Execution Error - One public envelope for every tool execution failure.
- Tool
Output - The canonical model-visible output produced by a tool.
- Tool
Result - The single structured execution view used by dispatch, hooks, and telemetry.
Enums§
- Tool
Error Kind - Normalized classification for a tool execution error.
Traits§
- Into
Tool Output - Conversion into Rig’s canonical tool output.