GetBehaviorImplementation
Reads the source code or metadata of a RAP behavior implementation class, with options to select active, inactive, or working-area versions and line ranges for inspection.
Instructions
[read-only] Reads the current source code of a RAP behavior implementation class (CLAS), or its metadata.
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": {
"behavior_implementation_name": "<behavior_implementation_name>"
},
"name": "GetBehaviorImplementation"
}
}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 | The version read: "active" (default) the activated version, "inactive" the version saved and awaiting activation, "workingArea" the version in the working area, as ADT answers it. | active |
| end_line | No | Last line of the source to answer, included. Without it, to the last line. | |
| start_line | No | First line of the source to answer, from 1. Without it, from the first line. | |
| behavior_implementation_name | Yes | BehaviorImplementation name. |