zip_create
Compress files or folders into a ZIP archive for backup, sharing, or archiving. Supports wildcards for selecting multiple items.
Instructions
Create a ZIP archive from files or folders using PowerShell Compress-Archive. Use this tool to compress files/folders into a .zip file for backup, sharing, or archiving. Supports wildcards in source (e.g. "D:\logs*.log"). The destination path should end in .zip.
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": "zip_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | File or folder to compress. Can use wildcards. Example: "D:\Projects\myapp" or "D:\logs\*.log" | |
| destination | Yes | Output .zip file path. Example: "D:\backup\myapp-2026-08-14.zip" |