Update branch
update_branchBring what changed on the main file since a branch was created (or last updated) into the branch, so it is reviewed and merged against the main file as it is now. Where both changed the same thing, the branch keeps its version. The branch is saved in its history first. get_file on a branch says how many changes of the main file it lacks.
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": {
"fileId": "<fileId>"
},
"name": "update_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The branch (not its main file). |