Import project from JSON content
project_importAdd a project to the app from its JSON file content: validates config_version, applies default design_id and region, and inserts it into the project list. Read the file first.
Instructions
Import a project from its JSON content (the app's importProjectFromFileContent flow): validates config_version (rejects files newer than the app supports), forces design_id/region to app defaults, adds to the project list. Pass the file content as a string — read the file yourself first. MUTATING (adds a project).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name; defaults to config_name from the content, else "config". ".json" suffix is stripped. | |
| content | Yes | Project JSON content (a CyberBrick project file exported by project_export or the app). |