write_file
Write UTF-8 content to a remote file on an authorized online device. device_id chooses the device, path the local target and content the text. mode is 'rewrite' (default, replaces content) or 'append' (adds content). Mutates stored data; verify destination before use.
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": {
"device_id": "<device_id>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | rewrite | |
| path | Yes | ||
| content | Yes | ||
| device_id | Yes |