GZip File as Resource Tool
gzip-file-as-resourceCompresses a single file with gzip and returns it as a resource or a downloadable resource link, so clients can fetch the compressed data in a later request.
Instructions
Compresses a single file using gzip compression. Depending upon the selected output type, returns either the compressed data as a gzipped resource or a resource link, allowing it to be downloaded in a subsequent request: during the current session for a 2025-era client, or for ten minutes at a minted URI on protocol version 2026-07-28.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gzip-file-as-resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | URL or data URI of the file content to compress | https://raw.githubusercontent.com/modelcontextprotocol/servers/refs/heads/main/README.md |
| name | No | Name of the output file (at most 255 characters) | README.md.gz |
| outputType | No | How the resulting gzipped file should be returned. 'resourceLink' returns a link to a resource that can be read later, 'resource' returns a full resource object. | resourceLink |