parse_pdf_sync
Parse one PDF synchronously into JSON with optional OCR and configurable schema extraction.
Instructions
Parse one PDF synchronously through /api/v1/pdf/parse.
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": {
"pdf_path": "<pdf_path>"
},
"name": "parse_pdf_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| use_ocr | No | ||
| pdf_path | Yes | ||
| schema_id | No | ||
| ocr_engine | No | surya | |
| schema_json | No | ||
| schema_name | No | ||
| response_mode | No | compact | |
| schema_template | No | ||
| max_estimated_tokens_override | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||