Add task
planitude_add_taskAdds one task to an existing project and recalculates the dates. Position: parentTask (as a subtask), afterTask or beforeTask (among siblings); with none of them it goes to the end of the top level. If the parent had no subtasks it becomes a summary task whose dates come from its subtasks. Duration is in working days; a milestone has zero duration. Calling it twice adds two tasks. Requires write permission.
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": "<name>"
},
"name": "planitude_add_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wbs | No | WBS code, e.g. 1.2.3. | |
| name | Yes | Task name. | |
| type | No | 'task' (default), 'milestone' (zero duration) or 'summary' (dates come from its subtasks). | |
| notes | No | Task notes. | |
| deadline | No | Task deadline in ISO 8601 with offset, e.g. 2026-11-30T17:00:00Z. | |
| afterTask | No | Insert right after this task. | |
| projectId | Yes | Project id (uuid), as returned by planitude_list_projects. | |
| beforeTask | No | Insert right before this task. | |
| parentTask | No | Insert as a subtask of this task (at any level). | |
| durationDays | No | Duration in working days. Default 1 day. | |
| durationMinutes | No | Duration in working minutes. Takes precedence over durationDays. |