pub fn tool_error_result_for(error: McpToolError) -> ToolCallResultExpand description
Build an MCP error result with machine-readable structured_content.error.
pub fn tool_error_result_for(error: McpToolError) -> ToolCallResultBuild an MCP error result with machine-readable structured_content.error.