GetProgram
Retrieve ABAP program source code with optional paging. Use startLine and maxLines to fetch large programs in manageable chunks.
Instructions
Retrieve ABAP program source code. For large programs, use startLine/maxLines to page through the source instead of retrieving it all at once.
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": {
"program_name": "<program_name>"
},
"name": "GetProgram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxLines | No | Maximum lines to return (1-100000). Omit to request the rest; the byte cap may return fewer lines. | |
| startLine | No | 1-based line number to start from (default 1). Beyond EOF returns an empty page with hasMore=false. | |
| program_name | Yes | Name of the ABAP program |