Zip files into an archive
compress_filesCompresses selected files or folders into an archive in the same folder, running in the background. Use it to bundle server files and check the folder with list_files once done.
Instructions
Compresses files or folders into an archive created in the same folder. All paths must be in one folder. Runs in the background; call list_files on that folder to see the archive when it finishes.
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": {
"paths": "<paths>"
},
"name": "compress_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Files or folders to include, all in the same folder. | |
| 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. |