Get Analytics
get_analyticsGet engagement analytics for a platform. Facebook and TikTok can include account-wide posts not published through SendIt; unresolved TikTok inbox-draft deliveries may appear as placeholders until SendIt can link them.
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": {
"platform": "<platform>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional maximum posts to return. Facebook feed scanning is capped at 1,000 posts. | |
| endDate | No | Optional end date (YYYY-MM-DD). | |
| team_id | No | Team ID to get team analytics. If omitted, gets personal analytics. | |
| platform | Yes | Platform to get analytics for | |
| startDate | No | Optional start date (YYYY-MM-DD). For Facebook, omit this to scan up to 2 years of Page feed history. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isError | No | ||
| rawText | No | ||
| success | No | ||
| summary | No | ||
| warning | No | ||
| platform | No | ||
| topPosts | No | ||
| warnings | No | ||
| dateRange | No | ||
| errorMessage | No | ||
| followUpSuggestions | No |