CreateBehaviorImplementation
Creates a RAP behavior implementation class for a given behavior definition and package, returning an initial class shell; add FOR BEHAVIOR OF and includes later via UpdateClass.
Instructions
Creates the RAP behavior implementation class named by class_name for the behavior definition named by behavior_definition, in initial state: the FOR BEHAVIOR OF main source and the implementations include are written afterwards, the main source as a class source and the implementations include under the class lock. 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": {
"class_name": "<class_name>",
"behavior_definition": "<behavior_definition>",
"package_name": "<package_name>"
},
"name": "CreateBehaviorImplementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much of the answer to return: "terse" (default, the fields you need to act), "full" (the whole parse), "raw" (the document as ADT sent it). | terse |
| class_name | Yes | Behavior Implementation class name. | |
| description | No | Class description. If not provided, class_name will be used. | |
| package_name | Yes | Package name | |
| transport_request | No | Transport request number, not a task. Required for transportable packages. | |
| behavior_definition | Yes | Behavior Definition name. The behavior definition must exist. Accepted for compatibility; not forwarded to the create request — the shipped create endpoint posts a metadata document (name/description/package) only. The class is bound to this behavior definition when its FOR BEHAVIOR OF main source is written, separately, via UpdateClass. |