Create a zip archive
zip_createCall this tool to pack files uploaded with zip_upload into a new .zip and get a download link valid for one hour. Entry names are always relative, so the archive cannot write outside where it is unpacked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Not available on this hosted endpoint: there are no directories. Passing it is refused rather than ignored, so nobody believes a tree was packed | |
| level | No | Deflate level 0 to 9, default 6. 0 stores without compressing | |
| paths | No | Names of files uploaded with zip_upload, each packed under that name | |
| exclude | No | Drop entries matching one of these globs, applied after patterns | |
| out_path | Yes | Name for the archive, e.g. reports. It comes back as a download link valid for one hour; a name already produced in this request is refused without overwrite | |
| password | No | Not supported. Passing it is refused rather than ignored, so no one believes an archive is encrypted when it is not | |
| patterns | No | Only entries matching one of these globs (* and ? inside a segment, ** across segments; a pattern with no slash also matches the file name at any depth) | |
| overwrite | No | Replace out_path if a file is already there. Default false: an existing file is never overwritten |