GetFunction
Retrieve ABAP function module source code. Use startLine and maxLines to page through large modules instead of fetching all at once.
Instructions
Retrieve ABAP Function Module source code. For large function modules, 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": {
"function_name": "<function_name>",
"function_group": "<function_group>"
},
"name": "GetFunction"
}
}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. | |
| function_name | Yes | Name of the function module | |
| function_group | Yes | Name of the function group |