edit_file
Update the contents of an existing file by specifying its full path and new content, enabling AI assistants to modify hosted files through cPanel.
Instructions
Update the contents of an existing file
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": "edit_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full file path to edit | |
| content | Yes | New file content |