etabs_call_api
Access any ETABS API method not covered by other tools by specifying an interface path, method name, and arguments to call it directly through COM automation.
Instructions
Call ANY method in the ETABS API that isn't covered by other tools.
This is a powerful escape hatch to access all 1,300+ methods in the API.
Examples:
interface_path="FrameObj", method_name="GetLabelFromName", arguments=["F1", "", ""]
interface_path="Results.Setup", method_name="GetCaseSelectedForOutput", arguments=["DEAD", False]
interface_path="", method_name="GetModelFilename", arguments=[] (uses SapModel directly)
Args: interface_path: Dot-separated path to the interface relative to SapModel. Leave empty string to call methods directly on SapModel. method_name: Name of the method to call. arguments: List of arguments to pass to the method. COM 'ref' and 'out' parameters must still be provided (usually as dummy values or empty arrays).
Returns: JSON representation of the COM method's raw return tuple. Typically the first element is the return code (0 = success).
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": {
"interface_path": "<interface_path>",
"method_name": "<method_name>"
},
"name": "etabs_call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arguments | No | ||
| method_name | Yes | ||
| interface_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |