compress_files
Create an archive from up to 100 server file or directory paths for packaging or pre-change snapshots; requires file-write access.
Instructions
Create an archive from up to 100 server paths. Use for packaging or pre-change snapshots; this creates a new filesystem object and requires WISP_ALLOW_FILE_WRITES.
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 |
|---|---|---|---|
| to | No | Destination directory for the generated archive. | / |
| paths | Yes | Server file or directory paths to add to the archive. | |
| server_id | No | Wisp server ID. Omit to use the configured WISP_SERVER_ID default. |