compress_zip
Create ZIP archives by compressing specified files with adjustable compression levels.
Instructions
Create a ZIP archive from files.
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": {
"files": "<files>",
"output_path": "<output_path>"
},
"name": "compress_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of file paths to compress | |
| output_path | Yes | Path for output ZIP file | |
| compression_level | No | Compression level 0-9 (default: 6) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |