Results and analytics
get_analyticsMore results views (the full report with a visual card is get_performance_report). view: report (period days 1-365 or start_date/end_date, platform all|instagram|facebook), overview (period days), top_posts (limit 1-20), growth (metric followers|reach|engagement|leads, period 7-90 days), platform_breakdown, published (platform), roi (period days, window rolling|month), savings (period all|month), instagram (period 1-90 days), youtube (days), threads (days), home.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| view | No | report | |
| limit | No | ||
| metric | No | ||
| period | No | Days (e.g. 7, 30, 90); for savings: all or month | |
| window | No | ||
| brand_id | No | Optional business id from list_brands (default: this connection's business). | |
| end_date | No | YYYY-MM-DD (report) | |
| platform | No | ||
| start_date | No | YYYY-MM-DD (report) |