Skip to main content

tool_result_value

Function tool_result_value 

Source
pub fn tool_result_value(res: &CallToolResult) -> Value
Expand description

The value of an MCP tool result: structuredContent, else the text parsed as JSON, else the text.