

Zip / Unzip - File Compression < 100MB
Core Utility
Available ActionsEach successful request consumes credits as outlined below.
compress20crdecompress20cr
Details
High-capacity file compression and decompression utility designed specifically for handling zip and gzip archives ranging from 10MB to 100MB in size. This function complements the standard archive compressor by accepting payloads that exceed typical size limits, supporting up to 500 files per zip archive with built-in path traversal protection for secure extraction. Users can compress multiple files into a single zip archive by providing an array of filenames with base64-encoded content, or compress individual large files using gzip format. Decompression accepts archives via cloud storage file ID or base64 encoding, automatically extracting all contents and uploading each file to cloud storage with secure signed URLs for retrieval. Unlike the standard version, this large-capacity tool always stores outputs to cloud storage rather than returning inline base64 data, ensuring efficient handling of substantial payloads without memory constraints. The function enforces strict size boundaries, rejecting inputs under 10MB (directing users to the standard tool) and over 100MB (recommending file splitting), while automatic budget-based access controls maintain proper file isolation. The Archive Compressor (Large) is essential for workflows involving sizeable datasets, media collections, or bulk file operations that exceed standard compression limits.
Use Cases
Bundling large datasets or machine learning model files into distributable zip archives, extracting bulk media uploads containing high-resolution images or video assets, compressing extensive log file collections for long-term storage and archival, unpacking large software distribution packages for automated deployment pipelines, creating consolidated backups of sizeable document libraries or project directories, decompressing substantial data exports from enterprise systems or databases, packaging large audio file collections or podcast episodes for delivery, extracting research datasets distributed as compressed archives for analysis workflows, bundling multiple high-fidelity design assets or CAD files for client handoff, compressing batch exports of user-generated content for platform migration or backup operations
Actions(2)
compress20cr4 params(1 required)Create a ZIP or GZIP archive from input files. ZIP supports up to 500 files; GZIP compresses a single file. Input and output must be between 10MB and 100MB.
compress20cr4 params(1 required)Create a ZIP or GZIP archive from input files. ZIP supports up to 500 files; GZIP compresses a single file. Input and output must be between 10MB and 100MB.
archive_formatrequiredstringArchive format to use.
Values:
zipgzip
filesarrayFiles to include in a zip archive. Each object must have 'filename' (string) and 'content_base64' (string). Required for ZIP compression.
Array of: object
input_base64stringBase64-encoded file content for GZIP compression.
filenamestringOutput archive filename (default: 'archive.zip' or 'archive.gz').
decompress20cr4 params(1 required)Extract files from a ZIP or GZIP archive (10-100MB). Provide via file_id or input_base64. All extracted files are uploaded to cloud storage.
decompress20cr4 params(1 required)Extract files from a ZIP or GZIP archive (10-100MB). Provide via file_id or input_base64. All extracted files are uploaded to cloud storage.
archive_formatrequiredstringArchive format of the input.
Values:
zipgzip
input_base64stringBase64-encoded archive to decompress.
file_idstringFile ID of a previously stored archive to decompress.
filenamestringOutput filename for GZIP decompressed file (default: 'decompressed').
Frequently Asked Questions
How do I connect this tool to an external agent?
You can install the local MCP server by opening a terminal and running:
Install commands
npm install -g @agentpmt/mcp-router
agentpmt-setupThis will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.
Alternatively you can connect to the hosted version with this config block, no installation required:
Hosted MCP config
{
"mcpServers": {
"agentpmt": {
"type": "streamable-http",
"url": "https://api.agentpmt.com/mcp",
"headers": {
"Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
"x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
}
}
}
}View MCP Connection Instructions for more details.
How does an external agent use this tool?
After the external agent is connected to an Agent Group that can use this tool, paste this prompt into the agent:
Agent prompt
Call the AgentPMT-Tool-Search-and-Execution tool with action 'get_schema' and tool_id 695c372f767df5adfd9bc870 ("Zip / Unzip - File Compression < 100MB"). Then call the same tool with action 'call_tool', tool_id 695c372f767df5adfd9bc870, and the parameters needed for my request.
The agent should fetch the tool schema first, collect the required parameters for your request, and then call the tool through AgentPMT.
Dependencies
1 dependencies will be automatically added when you enable this product.






