Create a text file
create_text_fileCreate a new text file in a local project without overwriting existing files. Provide project ID, path, and content to add files securely to authorized folders.
Instructions
Create a new text file without overwriting an existing path.
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": {
"projectId": "<projectId>",
"path": "<path>",
"content": "<content>"
},
"name": "create_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| projectId | Yes |