write_file
Writes full text content to a file on a specified host, replacing the existing file if present.
Instructions
Write a text file on a host, replacing it if it exists.
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": {
"host": "<host>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| path | Yes | A path on the host; relative paths start at the home directory. | |
| content | Yes | The whole new content of the file, as text. |