get_post_analytics
Current views, likes, comments, shares and saves for each platform copy of one post that is published on TikTok, Instagram, YouTube or Facebook. Numbers are cached for up to an hour; last_updated says when each was read from the platform. Targets on other platforms, or not published yet, are left out. Works for posts created through the API or dashboard and for workflow posts.
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": {
"id": "<id>"
},
"name": "get_post_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Upstream error details, when available. | |
| code | No | Error code when the tool result has isError=true. | |
| data | No | Present on successful results; omitted on tool errors. | |
| meta | No | ||
| status | No | ||
| message | No |