plan_add_task
Adds a task to a section, as a subtask, or after another task while setting dependencies and preventing duplicate open tasks by noting the existing one.
Instructions
Add a task at the end of a section (section; created at the end when missing), or as a subtask (under: a task key), or right after one (after:). Its dependencies are set in the same write. A task with the same title and assignee as an open one is not added twice: the open one gets a note.
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": {
"description": "<description>"
},
"name": "plan_add_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags, without # | |
| after | No | Task key: the new task goes right after it | |
| notes | No | Notes on the task | |
| under | No | Task key: the new task becomes its subtask | |
| status | No | pending, in_progress, completed, blocked, cancelled or review | |
| section | No | Ending section title; created at the end when missing (default: end of the list) | |
| assignee | No | Who does it (a handle, without @) | |
| criteria | No | Acceptance criteria (pending), one line each | |
| estimate | No | How long: 4h, 2d, 1w | |
| priority | No | 0 (highest) to 3 | |
| blocked_by | No | Task ids that block it | |
| depends_on | No | Task ids (^api or api) it waits for | |
| description | Yes | The task, one line |