pdf_repair
Scan damaged PDF binary objects and reconstruct broken/truncated XRef tables and trailers via pdf-lib.
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": "pdf_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | No | ||
| base64Data | No | ||
| outputPath | No |