fn mcp_resource_content_from_result( raw_result: Option<&Value>, raw_content: Option<&Value>, ) -> Vec<ToolCallContent>