file_zip
Pack files and folders into a .zip archive written directly to server storage, so large archives never travel over MCP. Share the resulting zip path instead of reading it.
Instructions
Pack one or more files/folders into a .zip ON THE SERVER (folders recurse). The archive is written to storage at dest - the bytes never travel over MCP. To let someone download a big zip, call file_share on dest; do NOT file_read it. Packing needs download permission on every source. Files inside an end-to-end encrypted folder cannot be packed into a zip outside it (E2E_BOUNDARY); the encrypted folder itself can, with its key file.
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>",
"dest": "<dest>"
},
"name": "file_zip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | adapter:// path of the .zip to create (same storage as the sources) | |
| sources | Yes | adapter:// paths to pack (files and/or folders; folders are zipped recursively) | |
| allow_plaintext | No | only for a dest inside an end-to-end encrypted folder: store the zip there UNENCRYPTED on purpose |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes |