readSources
Read ABAP source code for multiple objects in one call by name/type or source URL, with per-object error isolation and a character budget to control response size.
Instructions
Read the source of several objects in one call, by name and type or by source URL. Each object is reported on its own, so one unreadable object does not lose the rest, and the answer stops adding sources once the character budget is used up - it says which objects it did not reach.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Objects to read: [{name, objectType}], e.g. [{"name":"ZCL_APP","objectType":"CLAS/OC"}]. | |
| version | No | Which version to read: "active" for what the system runs, "inactive" for the working copy (the ADT default). | |
| sourceUrls | No | Source URLs to read instead, e.g. ["/sap/bc/adt/programs/programs/zr_app_foo/source/main"]. | |
| maxTotalChars | No | Character budget for the whole answer, default 80000. | |
| maxLinesPerObject | No | Keep only the first N lines of each source. |