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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "project_import"
}
}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). |