repair-pdf
Repair damaged or corrupted PDF files to restore their usability. Provide a file path or URL to fix the document and get a valid PDF output.
Instructions
Attempt to repair a damaged or corrupted PDF document
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": {
"file": "<file>"
},
"name": "repair-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to repair | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |