apply_agent_run
Merge an agent's isolated worktree changes back into the main branch to finalize delegated task outcomes.
Instructions
Merge the changes from the agent's worktree back into the main branch.
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": {
"worker_id": "<worker_id>"
},
"name": "apply_agent_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |