Skip to main content

handle_tool_call

Function handle_tool_call 

Source
pub async fn handle_tool_call(
    bash_state_arc: &Arc<Mutex<Option<BashState>>>,
    read_image: ReadImage,
) -> Result<(String, String)>
Expand description

Backwards-compatible text-free library API. Direct callers explicitly get an image every time; MCP callers use handle_tool_call_detailed so repeat deliveries can be compacted safely.