write_file
Write or overwrite file contents at any specified path using provided content, enabling direct file creation and updates.
Instructions
Write or overwrite the contents of a file.
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>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the file to write. | |
| content | Yes | Content to write to the file. |