Close project
close_projectCloses the current Archicad project, but all tools stop working until a project is reopened manually. Prefer open_project/new_project to switch projects.
Instructions
Closes the current project. WARNING: the Archicad JSON API only listens while a project is open, so after this NO tool works until a project is opened by hand in Archicad. Prefer open_project/new_project to switch projects. Requires confirm: true and saveFirst or discardChanges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true | |
| saveFirst | No | Save the current project in place before continuing (fails for untitled projects: use save_project_as first) | |
| discardChanges | No | Continue WITHOUT saving: unsaved changes of the current project are lost. Exactly one of saveFirst / discardChanges must be true |