Write file
write_fileWrites, appends, and creates files: text, Excel workbooks from JSON, and DOCX from markdown-like text.
Instructions
Write or append text; create Excel workbooks from JSON arrays; create DOCX from markdown-like text.
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 |
|---|---|---|---|
| mode | No | rewrite | |
| path | Yes | ||
| content | Yes | ||
| deviceId | No | ||
| deviceName | No |