LinkAbapGitRepo
Link an ABAP package to a remote abapGit repository branch and import its objects, recording them in a transport request.
Instructions
Links an ABAP package (DEVC) to a remote abapGit repository on a branch and imports the branch's objects into it, recorded in a transport.
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": {
"package_name": "<package_name>",
"url": "<url>",
"branch": "<branch>"
},
"name": "LinkAbapGitRepo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The remote repository URL over HTTPS, without a user, a password, a query or a fragment. | |
| branch | Yes | The branch, as CheckAbapGitExternalRepo lists it (for example refs/heads/main). | |
| background | No | When true, the run goes on in the background on an ABAP session of its own and the call answers at once with a run_handle; read its answer later with GetBackgroundRun, and remove it with DiscardBackgroundRun. A started run cannot be stopped. No default: without it the call waits for the run to end. | |
| package_name | Yes | The ABAP package the repository is linked to. | |
| transport_request | No | The transport request that records the objects written. |