Compress PDF
pdf_compressReduce PDF file size by resaving document structure with object streams without recompressing images; reports before and after sizes so you can verify actual savings.
Instructions
Structural resave with object streams. No image recompression: text-only PDFs may barely shrink, already-optimised ones may grow. Reports before/after sizes honestly.
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": {
"path": "<path>"
},
"name": "pdf_compress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| path | Yes | ||
| use_object_streams | No |