Decompress Server Archive
pterodactyl_decompress_fileDecompresses tar.gz or zip archives on a specified Pterodactyl server using the archive file path and optional root directory.
Instructions
Extract a compressed archive (tar.gz, zip) on the server.
Args:
server (string): Server identifier
root (string): Root directory where the archive is located (default: '/')
file (string): Full path to the archive file to extract
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>",
"file": "<file>"
},
"name": "pterodactyl_decompress_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Full path to the archive to decompress | |
| root | No | Root directory | / |
| server | Yes | Server identifier (short ID like 'abc12345') |