switchRepoBranch
Switch an abapGit repository to another branch to control what the next pull writes. Set the branch before pulling to update the package accordingly.
Instructions
Switch an abapGit repository to another branch. It changes what the next pull would write, and a pull after it can rewrite the whole package.
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": {
"repo": "<repo>",
"branch": "<branch>"
},
"name": "switchRepoBranch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | The Git repository. | |
| user | No | The username. | |
| branch | Yes | The branch name. | |
| create | No | Whether to create the branch if it doesn't exist. | |
| password | No | The password. |