Search items
search_itemsSearch through OmniFocus tasks, projects, folders, and tags in one pass using a case-insensitive substring match on names or notes, returning grouped IDs with per-type totals.
Instructions
Search tasks, projects, folders, and tags in one pass by name (optionally notes). Case-insensitive substring match; returns ids grouped by type with honest per-type totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to look for. Plain case-insensitive SUBSTRING match — not fuzzy, not a regular expression | |
| types | No | Which entity types to search (default: all four — task, project, folder, tag) | |
| searchIn | No | Where to look (default: names). Notes only exist on tasks and projects, so 'notes' returns nothing for folders and tags | |
| limitPerType | No | Maximum rows returned PER TYPE (default: 20, max: 100). Every match is counted before the cut, so the output always reports the true total | |
| includeCompleted | No | Include finished work (default: false, which hides completed/dropped tasks and done/dropped projects) | |
| includeProjectRoots | No | Include project root tasks (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| tool | Yes | ||
| success | Yes |