Tool Check Repair
tool_check_repairValidate a PDF for syntax and stream encoding errors, then optionally repair them by rebuilding a fixed output file.
Instructions
结构体检(语法/流编码);repair=true 尝试重建输出修复版文件。
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": "tool_check_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | No | ||
| repair | No | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||