pub fn tool_result_value(res: &CallToolResult) -> ValueExpand description
The value of an MCP tool result: structuredContent, else the text parsed
as JSON, else the text.
pub fn tool_result_value(res: &CallToolResult) -> ValueThe value of an MCP tool result: structuredContent, else the text parsed
as JSON, else the text.