Create a ZIP archive
zip_pathCreate ZIP archives from files and folders, preserving each source's top-level name, including subfolders recursively, storing UTF-8 names correctly, and skipping symbolic links.
Instructions
Packs files and folders into a ZIP archive. Each source keeps its own name at the top level of the archive; subfolders are included recursively. Symbolic links are skipped. UTF-8 file names are stored correctly. Set overwrite=true to replace an existing archive.
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": {
"sources": "<sources>",
"destination": "<destination>"
},
"name": "zip_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | Files and folders to include, e.g. ["src", "README.md"] | |
| overwrite | No | Replace the archive if it already exists | |
| destination | Yes | Archive path, e.g. `backup.zip` |