find-sections
Search a Todoist project for sections by name or criteria. Uses server-side search to locate matching sections without 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 |