Extract a ZIP archive
unzip_pathExtract ZIP archives into a destination folder, creating missing parent directories and preventing path traversal. Existing files are kept unless overwrite is enabled.
Instructions
Extracts a ZIP archive into a folder, creating missing parent folders. Stored and deflated entries with UTF-8 names are supported (ZIP64 and encrypted archives are not). Paths that would escape the destination are rejected. By default nothing is overwritten.
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "unzip_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Archive path | |
| overwrite | No | Replace files that already exist (no backup is made) | |
| destination | Yes | Folder to extract into |