pdf_compress
Shrink a PDF by rendering pages as images at 150 or 100 dpi to lower file size for sharing or storage; text is no longer selectable after compression.
Instructions
Make a PDF smaller. quality: 'smaller' (150 dpi) or 'smallest' (100 dpi). Pages become images, so text is no longer selectable; run read_text on the result if you need the words.
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 |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| quality | No | smaller |