MCP ServerTool Reference
Download Report
Download Report MCP tool.
Download Report
Return the rows of one completed report job: json (default) gives {report_id, columns, rows}; csv gives CSV text.
Contract
| Field | Value |
|---|---|
| Tool name | download_report |
| Domain | reports |
| Required scopes | analytics:read |
| Title | Download report |
| Read only hint | true |
| Destructive hint | false |
| Idempotent hint | false |
| Open world hint | false |
| Bulk limit | none |
| Timeout | 30000ms |
| Kill switch key | reports.jobs.download |
| REST sibling | GET /api/public/v1/reports/jobs/{job_id}/download |
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"job_id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"format": {
"type": "string",
"enum": [
"json",
"csv"
]
}
},
"required": [
"job_id"
],
"additionalProperties": false
}Output Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"content": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "text"
},
"text": {
"type": "string"
}
},
"required": [
"type",
"text"
],
"additionalProperties": false
}
}
},
"required": [
"content"
],
"additionalProperties": false
}