Create or update aictrl backlog tasks
update_backlogCreate or update tasks within an Epic. Supports stack-layer assignments and dependencies. Find existing epic and task UUIDs with query_context domain=backlog reads (for example action=list_epics, then action=list with params.type="tasks" and params.epic_id). task/update changes only the fields supplied; omitted fields stay unchanged. Task IDs and depends_on entries accept a UUID, #123, owner/repo#123 or https://github.com/owner/repo/issues/123; bare numbers must resolve unambiguously in connected repositories. Dependencies must belong to this organization and cannot create cycles. A supplied depends_on, tags or stack_layer_ids array replaces the stored list, and [] clears it; stack_layer_ids not found in the organization are dropped. An update with no fields is rejected; status changes must be valid transitions.
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": {
"organization_id": "<organization_id>",
"entity": "<entity>",
"action": "<action>",
"params": "<params>"
},
"name": "update_backlog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on the entity. | |
| entity | Yes | Entity type to modify. Only "task" is supported. | |
| params | Yes | Action-specific parameters. • task/create: { epic_id, title, description?, type?: "story"|"bug"|"spike", depends_on?: string[], stack_layer_ids?: string[], complexity?: "low"|"medium"|"high", tags?: string[] } • task/update: { task_id, title?, description?, type?, status?, priority?, depends_on?: string[], stack_layer_ids?: string[], complexity?, tags?: string[] } — omitted fields are unchanged; supplied arrays replace existing values ([] clears). | |
| version | No | API version (default: v1) | |
| organization_id | Yes | AICtrl organization ID returned by list_organizations. |