create_text_file
Create or overwrite text files with UTF-8 content, returning a success or failure message for each operation.
Instructions
Write a new file or overwrite an existing file. Returns a message indicating success or failure.
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": {
"relative_path": "<relative_path>",
"content": "<content>"
},
"name": "create_text_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The (utf-8-encoded) content to write to the file. | |
| relative_path | Yes | The relative path to the file to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |