write_file
Write UTF-8 text content to a file, creating it if missing or overwriting it if present. Specify the destination path and the text to write.
Instructions
Write UTF-8 content to a file (created if missing, overwritten if present).
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": {
"file": "<file>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Destination path. | |
| content | Yes | Text to write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |