How posts did
get_analyticsShows how posts did, per account, where the network allows it. It only works once the person has agreed to this app seeing the numbers, on the AI Agents page. LinkedIn's and X's numbers are never here: they're only shown in PostReach. A missing figure means the network didn't share it, and is never a zero. Use it when they ask how posts did. To choose when to post on a YouTube channel or a TikTok account, use get_posting_insights instead. Example: account_id "con_1".
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 |
|---|---|---|---|
| to | No | A date. Left out, today in the workspace's time zone | |
| from | No | A date. Left out, the 7 days up to `to` | |
| account_id | No | ||
| workspace_id | No |