archive_extract
Extract archive files into a safe output directory, preventing path traversal and limiting entry count and size to avoid zip bombs.
Instructions
Extract an archive (or just members) into out_dir — default
derived/<name>/ beside it, and NEVER anywhere else: absolute
paths, .. members, and links are refused by name (zip-slip),
entry count and total size are capped so a zip bomb is an error,
not an outage.
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": "archive_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| members | No | ||
| out_dir | No |