Copy Server File/Directory
pterodactyl_copy_fileCopy a file or directory on a Pterodactyl server to create a duplicate with a numeric suffix, such as 'file copy 1'.
Instructions
Copy a file or directory on the server. A copy will be created with a numeric suffix (e.g., 'file copy 1').
Args:
server (string): Server identifier
location (string): Full path of the file or directory to copy
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": {
"server": "<server>",
"location": "<location>"
},
"name": "pterodactyl_copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server identifier (short ID like 'abc12345') | |
| location | Yes | Full path of the file/directory to copy |