Unzip an archive
extract_archiveExtracts .zip, .tar.gz, and similar archives into their containing folder, replacing existing files at matching paths. Runs in background; call list_files afterward to verify.
Instructions
DESTRUCTIVE: files in the archive replace existing files with the same paths. Extracts a .zip, .tar.gz, or similar archive into the folder that contains it. Runs in the background; call list_files afterwards.
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>"
},
"name": "extract_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Archive path, relative to the server's root directory, such as "server.properties" or "plugins/LuckPerms/config.yml". | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. |