report_account
Retrieve audience, reach, engagement, and top-post analytics for one social account or all workspace accounts, with previous-period comparisons for performance tracking.
Instructions
Analytics for one social account (account_id = smpa_id), or the overview of every account in the workspace when account_id is left out: audience, reach, engagement and the most popular post, each with the previous period for comparison. period: today, yesterday, last_week (default) or last_month; or start_date and end_date (YYYY-MM-DD) together.
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": "report_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named window in the workspace owner's timezone: today, yesterday, last_week (the 7 days before today, today left out) or last_month (the last 30 days including today). Ignored when start_date or end_date is sent. Default: last_week. | |
| end_date | No | Last day of the period, YYYY-MM-DD, not before start_date. | |
| account_id | No | Encrypted social account id from /api/social_account_list. Leave out for the overview of every account in the workspace. | |
| start_date | No | First day of the period, YYYY-MM-DD in the workspace owner's timezone. Send it together with end_date; at most 366 days apart. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. |