decompress_file
Extracts .tar.gz, .zip, and other archive files on a Pterodactyl server, specifying the server ID and archive path so AI agents can unpack files during server file operations.
Instructions
Extract an archive (.tar.gz, .zip, etc.) on the 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": {
"server_id": "<server_id>",
"file": "<file>"
},
"name": "decompress_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Archive filename relative to root | |
| root | No | Directory containing the archive (default '/') | |
| server_id | Yes | Short server identifier |