add-sections
Add one or more sections to a Todoist project to organize tasks into custom categories. Specify section names and project IDs in a single request.
Instructions
Add one or more new sections to projects.
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": {
"sections": "<sections>"
},
"name": "add-sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | Yes | The array of sections to add. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failures | Yes | Sections that could not be created, with the reason for each. A failure here does not affect the other sections in the batch — do not retry the whole batch; address or drop the failed items. | |
| sections | Yes | The created sections. | |
| totalCount | Yes | The total number of sections created. | |
| failureCount | Yes | The number of failed section creations. | |
| successCount | Yes | The number of successfully created sections. | |
| totalRequested | Yes | The total number of sections requested. |