write_file
Overwrite a file on a remote Ubuntu server with specified content. Use for updating configuration files or deploying scripts via SSH.
Instructions
Write content to a remote file (overwrites). Use with caution.
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": {
"alias": "<alias>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| alias | Yes | ||
| content | Yes | File content to write | |
| sudo_password | No |