SwitchAbapGitBranch
Switches an abapGit repository to a specified branch, optionally creating that branch in the remote first if it does not exist.
Instructions
Switches an abapGit repository to a branch, creating the branch in the remote first when asked.
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": {
"repository_key": "<repository_key>",
"branch": "<branch>",
"create": "<create>"
},
"name": "SwitchAbapGitBranch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | The branch, as CheckAbapGitExternalRepo lists it (for example refs/heads/main). | |
| create | Yes | true creates the branch in the remote when it does not exist; false switches to an existing branch only. | |
| repository_key | Yes | The key of a linked repository, as ListAbapGitRepos answers it. |