List a zip archive
zip_listCall this tool to list an archive's entries with sizes and ratios and flag what is dangerous: absolute paths, .., symlinks, encrypted entries, duplicate names and bombs. Read-only. Run it before zip_extract.
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": {
"path": "<path>"
},
"name": "zip_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .zip file. Read-only: the archive is never modified and nothing is extracted | |
| limit | No | How many entries to print, largest first (default 50). The totals always cover every entry | |
| patterns | No | Only entries matching one of these globs | |
| max_ratio | No | Flag an entry whose uncompressed/compressed ratio is above this. Default 100 |