Apply task changes
apply_taskApply a worktree-isolated task's changes to your working tree without committing, so you can inspect the diff before keeping or discarding it.
Instructions
Apply a worktree-isolated task's changes to the user's working tree (not committed).
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_id": "<task_id>"
},
"name": "apply_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | task_id from start_task | |
| keep_worktree | No |