Map<String, dynamic> toJson() => { 'type': 'mcp_tool_result', 'tool_use_id': toolUseId, 'is_error': isError, 'content': content, };