Skip to main content

Module tool_runtime

Module tool_runtime 

Source
Expand description

Tool runtime layer with validation, timeout, and bounded parallelism.

ToolRuntime wraps a ToolRegistry and enforces RuntimePolicy constraints during tool execution: JSON schema validation, per-tool timeouts, bounded concurrency, and execution recording to an ExecutionStore.

Structsยง

ToolExecutionOutcome
Outcome of running a single tool call within the runtime.
ToolRuntime
Runtime layer that orchestrates tool execution with policy enforcement.