archive
Create, extract, or list ZIP archives. Compress files into ZIP format or decompress existing archives with preview and overwrite controls.
Instructions
Create, extract, or list ZIP archives.
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": {
"action": "<action>",
"archive_path": "<archive_path>"
},
"name": "archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation | |
| dry_run | No | Preview create/extract without changing files | |
| overwrite | No | Allow extraction to overwrite existing files | |
| extract_to | No | Extraction directory (for extract) | |
| archive_path | Yes | Path to the ZIP file | |
| source_paths | No | Files/directories to add (for create) |