ssh_write_file
Write files to a Proxmox node via SSH, automatically creating backups of existing files and setting file permissions.
Instructions
Écrit un fichier sur un nœud Proxmox via SSH. Crée automatiquement un backup du fichier existant.
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": {
"node": "<node>",
"path": "<path>",
"content": "<content>"
},
"name": "ssh_write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Permissions du fichier (défaut: 0644) | 0644 |
| node | Yes | Nom du nœud Proxmox | |
| path | Yes | Chemin absolu du fichier | |
| backup | No | Créer un backup .bak (défaut: true) | |
| content | Yes | Contenu à écrire |