count_tasks
Count tasks matching your filters, returning a total and status breakdown. Get quick 'how many' answers without fetching the full task list.
Instructions
Count tasks matching filters without returning the full list. Fast 'how many' queries that return a total plus a breakdown by status. Uses the same filters as filter_tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flagged | No | Only count flagged (true) or unflagged (false) tasks | |
| overdue | No | Only count overdue tasks | |
| dueToday | No | Only count tasks due today | |
| tagFilter | No | Only count tasks with these tags | |
| searchText | No | Only count tasks whose name or note contains this text | |
| taskStatus | No | Filter by task status: Available, Next, Blocked, DueSoon, Overdue, Completed, Dropped | |
| dueThisWeek | No | Only count tasks due this week | |
| perspective | No | Scope: 'inbox', 'flagged', or 'all' (default: all) | |
| createdAfter | No | Only count tasks created strictly after this date/time (ISO format) | |
| plannedToday | No | Only count tasks planned for today | |
| createdBefore | No | Only count tasks created strictly before this date/time (ISO format) | |
| exactTagMatch | No | Require exact tag name match (default: false) | |
| modifiedAfter | No | Only count tasks last modified strictly after this date/time (ISO format) | |
| projectFilter | No | Only count tasks in projects whose name contains this text | |
| completedToday | No | Only count tasks completed today | |
| modifiedBefore | No | Only count tasks last modified strictly before this date/time (ISO format) | |
| plannedThisWeek | No | Only count tasks planned for this week | |
| completedThisWeek | No | Only count tasks completed this week |