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.
Modules§
- builtin
- Built-in tools shipped with
rigthat agents can use out of the box. - portable
- Context-free tool authoring contracts.
Structs§
- Portable
Dynamic Tool - A runtime-authored context-free tool implementation.
- 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.
- Portable
Tool - A context-free typed tool that can be executed by any Rig runtime.
- Portable
Tool Embedding - A portable tool that can be embedded and reconstructed for discovery.
Functions§
- portable_
tool_ definition - Generate provider-facing metadata for a portable typed tool.