GetAbapGitFile
Read one file from an abapGit repository, choosing the local system copy or the remote branch copy, to inspect or compare its contents.
Instructions
[read-only] Reads one file of an abapGit repository, as the system holds it or as the remote branch holds it.
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>",
"filename": "<filename>",
"version": "<version>"
},
"name": "GetAbapGitFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Which version of the file: local (the system's) or remote (the remote branch's). | |
| filename | Yes | The file name, as GetAbapGitStaging lists it (for example zcl_demo.clas.abap). | |
| repository_key | Yes | The key of a linked repository, as ListAbapGitRepos answers it. |