Create new project file
create_fileCreate a new UTF-8 file in a project without overwriting existing files. Ensures safe file creation for write-enabled projects.
Instructions
Create a new UTF-8 file in a write-enabled project. Existing files are never overwritten.
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": {
"project": "<project>",
"path": "<path>",
"content": "<content>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bytes | Yes | ||
| sha256 | Yes | ||
| created | Yes | ||
| project | Yes |