search_tasks_tool
Search and filter tasks across your Obsidian vault by status, priority, due date, recurrence, and tags to quickly find overdue or high-priority items for planning and review.
Instructions
Search and filter tasks by metadata across the vault (filesystem-native, offline).
Scans all markdown files in the vault and extracts tasks with Tasks plugin metadata (due dates, priorities, recurrence). Supports comprehensive filtering and sorting.
Metadata Format (Tasks Plugin):
Priority: ⏫ (highest), 🔼 (high), 🔽 (low), ⏬ (lowest), none (normal)
Due date: 📅 YYYY-MM-DD
Scheduled: ⏳ YYYY-MM-DD
Start date: 🛫 YYYY-MM-DD
Done date: ✅ YYYY-MM-DD
Recurrence: 🔁 every
When to use:
Finding overdue tasks
Viewing high-priority tasks
Planning weekly schedules
Reviewing recurring tasks
Performance:
1,000 notes: < 3 seconds
10,000 notes: < 30 seconds
Returns: Tasks matching filters with full metadata, file locations, and line numbers
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | No | Path to vault (optional, uses OBSIDIAN_VAULT_PATH env if not provided) | |
| status | No | Filter by completion status | |
| priority | No | Filter by priority level | |
| due_before | No | Filter tasks due before this date (YYYY-MM-DD) | |
| due_after | No | Filter tasks due after this date (YYYY-MM-DD) | |
| due_within_days | No | Filter tasks due within N days from today | |
| has_recurrence | No | Filter tasks with/without recurrence patterns | |
| tag | No | Filter tasks containing this tag (without #) | |
| limit | No | Maximum number of results | |
| sort_by | No | Field to sort by | due_date |
| sort_order | No | Sort direction | asc |
| ctx | No |