AgentPMT
Zip / Unzip - File Compression < 100MB

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.

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_formatrequiredstring

Archive format to use.

Values:
zipgzip
filesarray

Files to include in a zip archive. Each object must have 'filename' (string) and 'content_base64' (string). Required for ZIP compression.

Array of: object
input_base64string

Base64-encoded file content for GZIP compression.

filenamestring

Output 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.

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_formatrequiredstring

Archive format of the input.

Values:
zipgzip
input_base64string

Base64-encoded archive to decompress.

file_idstring

File ID of a previously stored archive to decompress.

filenamestring

Output filename for GZIP decompressed file (default: 'decompressed').

Frequently Asked Questions

How do I connect this tool to an external agent?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

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\"}"
      }
    }
  }
}

How does an external agent use this tool?

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.

Dependencies

1 dependencies will be automatically added when you enable this product.

Looking for help integrating AI into your business? Set up a free consultation.