Close Project
close_projectClose the currently loaded KiCAD project, optionally save changes, and clear session state so external file edits aren't overwritten by the MCP server.
Instructions
Close the currently loaded KiCAD project: optionally save, then drop the in-memory board and clear session state. Use this to hand control back so the user (or the agent) can edit project files directly without the MCP later clobbering those changes on save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Save the board to disk before closing (default true). If false and there are unsaved changes, the close proceeds but the response warns they were discarded. | |
| force | No | Backward-compatible alias for forceExternalChanges | |
| forceExternalChanges | No | Save despite external changes to the loaded SWIG board file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |