search_advanced
Search tasks by status, type, tag, area, start date, or deadline, with limit and offset controls to retrieve matching items across all statuses.
Instructions
Advanced search with multiple filters: status, type, tag, area, start_date, deadline. Supports response modes, limit (1-500), and offset for efficient retrieval.
Note: the tag filter is case-sensitive. An unknown tag (including a wrong-case variant of a real tag, e.g. 'work' vs 'Work') returns a structured error ({"success": false, "error": "unknown_tag", ...}) with case-insensitive suggestions instead of an empty result.
Unlike search_todos() and get_todos() (which default to 'incomplete' only),
search_advanced with no status filter searches items of ALL statuses
(incomplete, completed, and canceled). Pass status='incomplete' explicitly
to restrict to open items.
Note: filter_someday_project_tasks is NOT applied here - todos inside a Someday project (hidden from Today/Anytime/Upcoming in the Things UI) can still match search_advanced.
Scope semantics:
Without an explicit
typefilter, only to-dos are searched - a barearea=/start_date=/deadline=filter can never return a project or heading. Pass type='project' or type='heading' to search those kinds explicitly.area=matches only items directly assigned to the area - it does NOT cascade into to-dos living inside that area's projects. To find those, query each project with get_todos(project_uuid=...), or use get_areas(include_items=true) to enumerate the area's projects first.There is no
project=filter parameter - use get_todos(project_uuid=...) to scope a search to one project.
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": "search_advanced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag (case-sensitive) | |
| area | No | Filter by area UUID | |
| mode | No | ||
| type | No | Filter by item type | |
| limit | No | Maximum number of results to return (1-500) | |
| offset | No | Number of matching results to skip before applying limit (default: 0) | |
| status | No | Filter by todo status. If omitted, ALL statuses (incomplete, completed, canceled) are searched | |
| deadline | No | Filter by deadline (YYYY-MM-DD) | |
| start_date | No | Filter by start date (YYYY-MM-DD) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||