Skip to main content

dispatch_full

Function dispatch_full 

Source
pub fn dispatch_full(
    request: &ToolUseRequest,
    root: &Path,
) -> (ToolOutput, Option<WriteResult>, Option<ProcessResult>)
Expand description

Dispatch a provider tool-use request, returning the tool output, an optional file-write result, and an optional shell-execution result.

This is the unified entry point for the agent loop, returning all structured side effects alongside the ToolOutput.