todo_query
Search and filter todos across all calendars by status, title text, or due date range. Use it instead of listing every todo to conserve tokens and return only matching tasks.
Instructions
⭐ PREFERRED: Search and filter todos efficiently. Use instead of list_todos to conserve tokens. Omit calendar_url to search across ALL calendars automatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "todo_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of todos to return (default 20, max 500). You get the earliest by due date, and the response states how many matched in total. | |
| calendar_url | No | Optional: Specific calendar URL. Omit to search ALL calendars (recommended). | |
| status_filter | No | Filter by todo status. Use "NEEDS-ACTION" for pending tasks, "COMPLETED" for done tasks. Can be used alone as sufficient filter. | |
| summary_filter | No | Search todo summaries/titles containing this text (case-insensitive). Example: "write report" or "review PR". Can be used alone as sufficient filter. | |
| time_range_end | No | End datetime for due date filtering (ISO 8601). If provided, time_range_start is REQUIRED. Both dates together form a complete filter. | |
| time_range_start | No | Start datetime for due date filtering (ISO 8601). If provided, time_range_end is REQUIRED. Both dates together form a complete filter. |