Expand description
Tool runner abstraction for executing batches of tool calls.
Provides pluggable execution strategies (serial, parallel) so brokers can
stay independent of concurrency policy. Mirrors the Python and TypeScript
ToolRunner design.
Structs§
- Parallel
Tool Runner - Executes tool calls concurrently with a bounded fan-out.
- Serial
Tool Runner - Executes tool calls one at a time in input order.
- Tool
Call Execution - A single tool call to execute, identified by an opaque id.
- Tool
Call Outcome - Outcome of executing a single tool call.
Traits§
- Tool
Runner - Strategy for executing a batch of tool calls.
Functions§
- fresh_
cancel_ token - Convenience: build a fresh cancellation token for callers that don’t have one already (used by the sync broker code path).