get_focus_stats
Retrieve focus and pomodoro statistics for a specified date range. Choose between daily duration heatmaps or per-tag breakdowns.
Instructions
Get focus/pomodoro statistics for a date range.
[Category: Focus / Pomodoro] [Auth: V2]
[Related: get_productivity_stats]
Args:
from_date: Start date YYYYMMDD, e.g. "20260101".
to_date: End date YYYYMMDD, e.g. "20260306".
stat_type: "heatmap" (daily durations) or "distribution" (per-tag breakdown).
Returns:
heatmap: List of {date, duration} entries.
distribution: {"tagDurations": {"tag_name": seconds, ...}}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_date | Yes | ||
| to_date | Yes | ||
| stat_type | No | heatmap |