Weekly report
weekly_reportUse this when the user wants a recap or a report to save: "how did last week go", "what should I post next", "export my analytics". Views and posts by platform against the period before, top posts, best time, and post_next (unposted clips plan_posts can draft); as_csv adds every post as CSV. Not for: one post (get_post_stats) or a chart in the chat (show_report). Free and read only.
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": "weekly_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to cover, 1-90 | |
| as_csv | No | Also return every post of the period as CSV text to save | |
| timezone | No | IANA zone, e.g. America/Chicago | UTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | ||
| note | Yes | ||
| posts | Yes | ||
| views | Yes | ||
| best_time | Yes | ||
| post_next | Yes | ||
| top_posts | Yes | ||
| by_platform | Yes | ||
| period_days | Yes | ||
| views_previous_period | Yes |