Activity summary
get_activity_summaryRetrieve top apps and sites ranked by ActiveTime for a selected period or date range, optionally filtered by user or group.
Instructions
Top apps and sites by ActiveTime (POST /api/Activity/Overall2).
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_activity_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| top_n | No | How many top apps/sites to keep. | |
| period | No | Relative period: today|yesterday|last_7_days|last_30_days (wins over date_from/date_to when set). | |
| date_to | No | End datetime; date-only covers until 23:59:59 that day. | |
| user_id | No | User filter: Items.ID where Type=2 (reports call it AliasID). NodeType=1. | |
| group_id | No | Group filter: TreeviewUsers NodeType=14 (console group id). | |
| date_from | No | Start datetime YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (full day if date-only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||