create_file
Creates a new file with optional initial content and fails if the path already exists; use write_file to overwrite existing files.
Instructions
Create a brand-new file. Fails if the file already exists (use write_file to overwrite).
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": {
"path": "<path>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | No | Initial file content, defaults to empty |