Execute official JSON API command
execute_json_api_commandRun any official Archicad JSON API command verbatim when no dedicated tool exists. Provide a command and parameters to execute custom queries or operations in a live project.
Instructions
Escape hatch: runs any official Archicad JSON API command verbatim, e.g. command 'API.GetNavigatorItemTree' with parameters {navigatorTreeId: {type: 'ProjectMap'}}. Prefer the dedicated tools; use this for commands without one. Reference: https://archicadapi.graphisoft.com/JSONInterfaceDocumentation/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command name, e.g. 'API.GetElementsByType' (the 'API.' prefix is optional) | |
| parameters | No | Command parameters object |