List Todos
list_todosRetrieve and organize tasks with filtering by status, priority, tags, due dates, search queries, sorting, and pagination controls.
Instructions
List todos with filtering, search, sorting, and pagination
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": "list_todos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| completed | No | Filter by completion status (deprecated; use status) | |
| status | No | Filter by status | |
| query | No | Search text in title, description, or tags | |
| priority | No | Filter by priority level | |
| tag | No | Filter by tag (must contain) | |
| dueBefore | No | Filter todos due before this date (ISO format) | |
| dueAfter | No | Filter todos due after this date (ISO format) | |
| sortBy | No | Sort results by field | |
| order | No | Sort order (default: asc) | |
| limit | No | Max number of results to return (default: 50) | |
| offset | No | Number of results to skip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |