Skip to main content

extract_tool_results

Function extract_tool_results 

Source
fn extract_tool_results(
    t: &mut ClaudeTranslator,
    content: &[Value],
    out: &mut Vec<AgentEvent>,
)
Expand description

Shared by handle_user_message (top-level user frames) and the message_start case in handle_stream_event — both carry tool_result blocks in the same content array shape.