Skip to main content

tool_result_json

Function tool_result_json 

Source
pub fn tool_result_json(result: &AgentToolResult) -> Value
Expand description

Serialize a tool result into the stable wire shape (content blocks, details, usage, and the batch hints).