workflow_item_transition
Advance or cancel work items by applying valid state transitions (e.g., ready->implementing, reviewing->accepted) while recording the reason.
Instructions
Transition a work item to a new state.
Valid transitions: ready->implementing, implementing->verifying, verifying->reviewing, verifying->rework, reviewing->accepted, reviewing->rework, rework->implementing. Any item can be cancelled.
Args: item_id: Work item ID (WI-NNN). target: Target state. reason: Reason for the transition. project_dir: Project directory. Defaults to working directory.
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": {
"item_id": "<item_id>",
"target": "<target>"
},
"name": "workflow_item_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| target | Yes | ||
| item_id | Yes | ||
| project_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |