get_completion_stats
Get task completion counts grouped by project, tag, or folder for a date range. Returns sorted counts and percentages to analyze completion trends.
Instructions
Get task completion counts grouped by project, tag, or folder for a date range. Returns sorted list with counts and percentages. Much faster than multiple filter_tasks calls for analytics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupBy | No | How to group the completion counts. Default: project | |
| minCount | No | Only include groups with at least this many completions. Default: 0 | |
| completedAfter | No | Start of period (ISO format: YYYY-MM-DD). Tasks completed on or after this date. | |
| completedBefore | No | End of period (ISO format: YYYY-MM-DD). Tasks completed before this date. |