zip_items
Compress one or more files or folders into a ZIP archive directly on the server, specifying source paths and a destination ZIP file.
Instructions
Compress one or more files/folders into a ZIP archive directly 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": {
"sources": "<sources>",
"dest_zip": "<dest_zip>"
},
"name": "zip_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | List of relative paths to compress. | |
| dest_zip | Yes | Relative path for the output ZIP file (e.g., backup.zip). |