abapGit List Repositories
sap_abapgit_list_reposList and filter registered abapGit repositories by name, package, URL, or key, returning metadata to identify the correct repo before calling a pull.
Instructions
List registered abapGit repositories with their metadata. Returns repo names, Git URLs, packages, branches, last pull timestamps and (when the report provides it) the repository key, plus total_count and matched_count. Use name/package/url/key to filter instead of listing everything (a system can have hundreds of repositories): name, package and url are case-insensitive substrings, or globs when they contain * or ?; key is an exact match, digits, zero-padded to 12; all given filters must match. compact=True returns only name, package and key. Use this to discover the correct repo name before calling sap_abapgit_pull.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sap_abapgit_list_repos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Exact abapGit repository key (1-12 digits, zero-padded to 12; surrounding blanks are stripped). Optional. | |
| url | No | Same, for the Git URL (never matches offline repositories). Optional. | |
| name | No | Case-insensitive substring or glob (* and ?) for the repository name. Optional. | |
| compact | No | Return only name, package and key per repository. | |
| package | No | Same, for the ABAP package. Optional. | |
| session | No | Session ID (e.g., "s1", "s2"). None uses primary session. | |
| agent_id | No | Agent identifier for binding check. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if success=False | |
| popup | No | Present when a popup dialog is active on screen | |
| repos | No | Registered repositories that match the filters (AbapGitRepoSummary entries when compact=True) | |
| message | No | Hint, e.g. when no repository matches the filters | |
| success | No | Whether the operation succeeded | |
| total_count | No | Number of all registered repositories (before filtering); None when the list was not read | |
| active_window | No | Which window was operated on (e.g., 'wnd[0]', 'wnd[1]'). If 'wnd[1]' or higher, a modal dialog is open. | |
| matched_count | No | Number of repositories that match the filters |