GetServiceDefinition
Reads a named ABAP service definition in one request, returning its source code (active or inactive) or ADT metadata such as package, responsible, and description.
Instructions
[read-only] Reads the service definition named by service_definition_name in one request: its source code (part "source", the default; active or inactive version) or its ADT metadata document (part "metadata": package, responsible, description). Returns the part read. Recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
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": {
"service_definition_name": "<service_definition_name>"
},
"name": "GetServiceDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | The document to read: "source" (default) the source code, "metadata" the ADT metadata document (package, responsible, description, ...). | source |
| version | No | Version of the source: "active" (default) for the deployed version, "inactive" for the modified version awaiting activation. | active |
| service_definition_name | Yes | ServiceDefinition name. |