Refresh analytics from the platforms
refresh_analyticsUpdate stored analytics for authorized brands' connected social accounts by reading post metrics and follower counts, then save the latest readings in the private workspace.
Instructions
Refresh stored analytics only for the user's authorized brands and their already connected social accounts. Reads their post metrics and follower counts through those account integrations and stores the results in the private Markaestro workspace, replacing each post's latest stored reading (readings from earlier stages are kept). Cannot query arbitrary accounts, URLs, or public search, and does not publish or change social posts. Covers posts in the window (optionally one channel or one authorized brand) and today's follower counts. The answer says how many posts were updated and how many remain; a large window may take more than one refresh. Limited to a few calls a minute.
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": "refresh_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Window ending now; default 28 | |
| channel | No | ||
| productId | No | One brand, on an all-brands connection |