find-sections
Search for sections in a Todoist project by name or criteria, using server-side search to avoid fetching all sections.
Instructions
Search for sections by name or other criteria in a project. When searching, uses server-side search to avoid fetching all sections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The ID of the project to search sections in. Project ID should be an ID string, or the text "inbox", for inbox tasks. | |
| searchText | No | Search for a section by name (partial and case insensitive match). Supports wildcards (e.g. "work*" for prefix match). Use "\*" for a literal asterisk. If omitted, all sections in the project are returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | The found sections. | |
| totalCount | Yes | The total number of sections found. | |
| appliedFilters | Yes | The filters that were applied to the search. |