find-sections
Search a project’s sections by name or criteria with server-side matching; archived sections are excluded by default and can be included when needed.
Instructions
Search for sections by name or other criteria in a project. When searching, uses server-side search to avoid fetching all sections. Archived sections are left out unless archivedStatus is set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "find-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. | |
| archivedStatus | No | Default 'active'. 'archived' returns only archived sections, 'all' both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | The found sections. | |
| totalCount | Yes | The total number of sections found. | |
| appliedFilters | Yes |