generate_report
Render an AEO Goal report as a PDF. Small reports (<1MB) come back inline as base64; larger ones are persisted to media storage and returned as a 1-hour signed download URL. Returns the same content the user sees in /app/reports - single source of truth. Requires the white-label feature flag (Enterprise plan).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"report_type": "<report_type>"
},
"name": "generate_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format. Only 'pdf' is supported today. | |
| brand_id | No | Optional brand to scope the report to. Must be owned by this connection's user. Omit for an all-brands report. | |
| date_range | No | e.g. '7d', '30d', '90d', 'all'. Default '30d'. | |
| report_type | Yes | Which report to render. |