task_add
Add draft or planned tasks, including subtasks under a parent, to a gated task registry. Specify a verification command and review profile to enforce evidence-based transitions.
Instructions
Add a draft/planned task or, with parent, a subtask (id . assigned when id is omitted; one level, phase and default profile come from the parent; the parent must be in_progress before a subtask can start, and cannot close while subtasks are open). profile picks a review/verification profile from taskgate.toml. Duplicate ids and closed phases are rejected. Only identities listed in 'planners' may add tasks; pass by explicitly.
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": {
"title": "<title>",
"verification_cmd": "<verification_cmd>",
"by": "<by>"
},
"name": "task_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| id | No | ||
| spec | No | ||
| owner | No | ||
| phase | No | ||
| title | Yes | ||
| parent | No | ||
| status | No | ||
| depends | No | ||
| profile | No | ||
| verification_cmd | Yes |