etabs_call_api
Call any ETABS API method by path; arguments are validated against the live signature, ByRef outputs are returned, and a non-zero return code means ETABS rejected the call.
Instructions
Call any ETABS API method. Arguments are validated and converted against the live signature; ByRef values come back in 'outputs'. A non-zero 'ret' means ETABS rejected the call (ok=false).
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": {
"path": "<path>"
},
"name": "etabs_call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments by parameter name. Omit ByRef outputs; enums accept names or numbers; arrays are JSON lists. | |
| path | Yes | Method path relative to SapModel ('PointObj.SetRestraint'), or 'App.<method>' for the application object. | |
| confirm | No | Required for destructive methods (Delete*, New*, OpenFile, unlocking...). Ask the user first. | |
| max_items | No | Cap on returned array lengths. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||