callFunction
Invoke ORDA class functions on 4D servers using target interface, function name, and optional parameters.
Instructions
Call an ORDA class function on the 4D server
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": {
"target": "<target>",
"func": "<func>"
},
"name": "callFunction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| func | Yes | Function name to call | |
| params | No | Array of parameters to pass to the function | |
| target | Yes | Target interface (dataclass name or other interface) |