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/
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": {
"command": "<command>"
},
"name": "execute_json_api_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command name, e.g. 'API.GetElementsByType' (the 'API.' prefix is optional) | |
| parameters | No | Command parameters object |