extract_structured
Extract structured data from PDFs: tables, key-value pairs, and optional schema mapping, all in JSON format.
Instructions
Extract structured data from a PDF — tables as JSON, key-value pairs, and optionally map to a JSON schema. Returns tables with headers/rows, detected key-value pairs with auto-normalization (dates, amounts, rates), and schema-mapped output if a schema is provided.
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_path": "<file_path>"
},
"name": "extract_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | ||
| quality | No | standard | |
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |