Skip to main content

tool_result_output

Function tool_result_output 

Source
pub fn tool_result_output(
    call: CallId,
    name: ToolName,
    result: &ToolResult,
) -> UserContent
Expand description

Shape a tool’s result as the tool result the model reads, without reparsing text. Anything but a success is an error result.