Module background_tool

Module background_tool 

Source
Expand description

Non-blocking tool execution infrastructure.

Provides BackgroundToolTracker for managing in-flight background tool executions, ResultFormatter for customizing tool response formatting, and ToolExecutionMode for declaring whether a tool runs synchronously or in the background.

Structs§

BackgroundToolTracker
Tracks in-flight background tool executions for cancellation.
DefaultResultFormatter
Default formatter that wraps results in a status object.

Enums§

ToolExecutionMode
Execution mode for a tool.

Traits§

ResultFormatter
Formats tool responses for background execution lifecycle.