Re-exports§
pub use auto_continue::AutoContinueTool;pub use update_plan::UpdatePlanTool;pub use policy::DenyAllToolPolicy;pub use policy::ToolDecision;pub use policy::ToolPolicy;
Modules§
Structs§
- Activation
Context - Context passed to
Tool::should_activatefor Deferred tools. - Exec
Clock - Per-call execution-clock control, shared between the tool and the
pipeline’s timeout (
crate::engine::DefaultPipeline). - Exec
Pause Guard - RAII pause handle — see
ExecClock::pause. - Tool
Context - Tool
Metadata - Machine-readable metadata for a registered tool — origin, version, and runtime requirements in a stable shape consumers can inspect without parsing the LLM-facing definition JSON.
- Tool
Registry
Enums§
- Content
- Structured content returned by a tool, aligned with the MCP
contentarray shape (no envelope, no orchestration/failure/truncation semantics). - Tool
Exposure - Visibility level of a tool to the LLM model.
Traits§
Functions§
- content_
details - Extract structured detail metadata from tool output. When multiple
Detailentries exist, they are merged into a single object. ReturnsNoneif noDetailentries are present. - content_
text - Join the textual portion of tool output into a single string for display
and session history. Non-text variants (e.g.
Image,Detail) are skipped. - render_
tool_ definition - Render a single tool’s definition into the OpenAI function-calling
envelope. Tools only provide
name/description/schema; the envelope is assembled here at the LLM boundary (Anthropic gets its own renderer, and tool authors stay protocol-agnostic).