time_summary
Analyze time usage by project, source, or time period, returning active minutes, prompt counts, and context switches. See where focus went from prompt timestamps and idle gaps for workload insights.
Instructions
Where the user's time went. THE tool for any question about time use, focus or workload. Returns per-group active_minutes (wall-clock time around the agent, including a short tail credit), prompt_count, agent_minutes (how long agents were working; 0 where no turn-end signal exists, e.g. browser sources) and avg_think_seconds (the user's read-and-decide gap between an agent finishing and their next prompt), plus total_active_minutes and context_switches (consecutive prompts in one work session on different projects) for the whole window. group_by must be one of: project, source, day, hour_of_day, weekday, session - 'hour_of_day' and 'weekday' use this machine's local timezone. since/until accept an ISO 8601 timestamp ('2026-09-19T14:00:00Z'), a bare date ('2026-09-19'), the word 'now', or a relative duration meaning that long ago: '30m', '24h', '7d', '2w', '3mo', '1y'. Omit until for 'up to now'. Default since is '7d'. All figures are heuristics derived from prompt timestamps and idle gaps, not measured focus time; present them as such.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | 7d | |
| until | No | ||
| group_by | No | project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||