sassy_unzip
Extract ZIP archives to a chosen destination, including password-protected files, while blocking zip-slip path escapes and overwriting existing files.
Instructions
Mutating: writes extracted files to disk. Extracts a .zip archive to destination, defaulting to the archive's parent directory under the archive's stem name. password (default empty) unlocks encrypted zips. Zip-slip protection rejects the whole archive with an error if any entry path escapes the destination. Existing files at the destination are silently overwritten. Returns the extraction path, the file count, and a sample of the first 20 entry names. Use it to open zips from any source; use sassy_zip to create archives for extraction with this tool.
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": {
"archive": "<archive>"
},
"name": "sassy_unzip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | ||
| password | No | ||
| destination | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||