ConnectorToolCallResponse
March 9, 2026 ยท View on GitHub
Response from calling an MCP tool.
We override mcp_types.CallToolResult because:
- Models only support
content, notstructuredContentat top level - Downstream consumers (le-chat, etc.) need structuredContent/isError/_meta via metadata
SYNC: Keep in sync with Harmattan (orchestrator) for harmonized tool result processing.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
content | List[models.ConnectorToolCallResponseContent] | :heavy_check_mark: | N/A |
metadata | OptionalNullable[models.ConnectorToolCallMetadata] | :heavy_minus_sign: | N/A |
__pydantic_extra__ | Dict[str, Any] | :heavy_minus_sign: | N/A |