merge
Preview a run’s branch changes and get a confirmation token; after developer approval, apply that branch into the current branch and clean up.
Instructions
Without confirm: a preview and confirm_token. With confirm: merge the run's branch into the current branch and clean up. Only confirm after the developer approves the preview.
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": {
"run_id": "<run_id>"
},
"name": "merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| confirm | No |