Add files to a zip
zip_addCall this tool to add files to an existing archive under their own names, or under prefix. A name clash is refused unless replace. An archive holding unsafe entries is refused rather than rewritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the existing .zip file | |
| level | No | Deflate level 0 to 9 for the new entries, default 6 | |
| paths | Yes | Files to add, each stored under its own file name. A directory contributes its tree under its own name | |
| prefix | No | Put the new entries under this folder inside the archive, for example "invoices" | |
| replace | No | Replace an entry whose name is already in the archive. Default false: a name clash is refused and nothing is changed | |
| password | No | Not supported. Passing it is refused rather than ignored |