Create a project data file
cm_createWrite a new project file, for example a tyre property file that differs from an existing one. Never overwrites; the file is logged and cm_revert_all moves it to the trash folder.
Instructions
Write a new project file, for example a tyre property file that differs from an existing one. Never overwrites; the file is logged and cm_revert_all moves it to the trash folder. To change a file that exists use cm_edit, to copy one cm_clone.
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": {
"kind": "<kind>",
"name": "<name>",
"content": "<content>"
},
"name": "cm_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Kind of project data; selects the folder below <project>/Data | |
| name | Yes | Name of the new file relative to the kind's folder (must not exist) | |
| content | Yes | The whole text of the file, at most 2 MB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||