rename_or_move
Rename, move, or copy files and directories on a cPanel server by specifying a source path, an operation, and a destination, so you can reorganize hosted content without SSH.
Instructions
Rename, move, or copy a file or directory on the cPanel server.
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": {
"operation": "<operation>",
"source": "<source>",
"destination": "<destination>"
},
"name": "rename_or_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Relative path of the source file or directory. | |
| operation | Yes | Operation type: rename, move, or copy. | |
| destination | Yes | For 'rename': the new file/folder name only. For 'move'/'copy': target directory relative path. |