pdf_linearize
Optimizes a PDF for fast web view by rearranging it for progressive download, then saves the result to a new PDF file.
Instructions
Linearizes a PDF for fast web view. [Input: PDF (.pdf) | Output: PDF (.pdf)]
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": {
"input": "<input>",
"output": "<output>"
},
"name": "pdf_linearize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the PDF to linearize. | |
| output | Yes | Path to save the linearized PDF. |