Get per-device time breakdown
get_device_breakdownGet time per device for a period, including active/passive seconds, days active, first/last seen, platform, and current-device flag. Note: device totals can overlap.
Instructions
Time per device for users who run Vetroscope across multiple machines (or paired with the browser extension). Each device reports total active / passive seconds, days active, first/last seen, and most-frequent platform. The user's current device is flagged with isCurrent=true. Each device's totalSeconds is DISTINCT 30s buckets on that device — the same wall-clock slice can be credited to every device that logged it, so summing devices can exceed get_report.totalSeconds.
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_device_breakdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | today | yesterday | week | month | year | a single date YYYY-MM-DD | an inclusive date range YYYY-MM-DD..YYYY-MM-DD | month |