project_open
Restore a saved IC-CAP project by loading a .mdl file into a model slot, replacing its current contents after restart.
Instructions
Open a .mdl project file into the named model slot (IC-CAP's Open action reads the file over the target, destroying its previous contents). When the target model exists, a Save-As-No-Data checkpoint of its current contents is taken first and returned in the response. The file must exist and satisfy the workspace path policy (set ICCAP_MCP_ALLOW_EXTERNAL_FILES=1 to open from anywhere). Use this to restore a project after an IC-CAP restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the .mdl project file; must satisfy the workspace path policy | |
| model_path | Yes | Target model slot, e.g. '/model_name' (contents are replaced by the file) |