add_task
Append a new task to an initialized plan with conflict protection via expected revision. Provide task details and dependencies to update the collaborative blackboard.
Instructions
Append one new task to an already-initialized Plan. A stale revision is rejected as a conflict.
task uses the same shape as one entry of initialize_project's tasks
(id/task/role). dependencies lists the IDs of tasks the new task
requires; targets must already exist in the Plan.
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": {
"task": "<task>",
"actor_id": "<actor_id>",
"role": "<role>",
"expected_revision": "<expected_revision>"
},
"name": "add_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| task | Yes | ||
| reason | No | ||
| plan_id | No | project | |
| actor_id | Yes | ||
| priority | No | ||
| dependencies | No | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||