compress
Compress files or directories into a ZIP archive with customizable options like encryption, password protection, and compression level.
Instructions
Compress local files or directories into a ZIP file
Input Schema
Name | Required | Description | Default |
---|---|---|---|
input | Yes | ||
options | No | ||
output | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"input": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"options": {
"additionalProperties": false,
"properties": {
"comment": {
"type": "string"
},
"encryptionStrength": {
"enum": [
1,
2,
3
],
"type": "number"
},
"level": {
"maximum": 9,
"minimum": 0,
"type": "number"
},
"overwrite": {
"type": "boolean"
},
"password": {
"type": "string"
}
},
"type": "object"
},
"output": {
"type": "string"
}
},
"required": [
"input",
"output"
],
"type": "object"
}