execute_script
Run Python scripts on a selected Archicad port for automation. Execute custom workflows with access to Archicad and Tapir commands.
Instructions
Execute Python in a disposable same-account local_user worker against the selected Archicad port. This is reliability isolation only, not hostile-code isolation: scripts have ordinary local-user Python builtins and imports and can read or write files, start processes, or make destructive Archicad/Tapir changes with the user's authority. The default timeout is 300 seconds; any positive finite timeout is accepted and null disables it. Timeout or transport cancellation terminates the owned worker. Use get_docs to discover Archicad and Tapir commands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| script | Yes | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | ||
| result | Yes | ||
| stderr | No | ||
| stdout | Yes | ||
| success | Yes | ||
| error_code | No | ||
| execution_model | No | local_user | |
| execution_time_ms | Yes |