Extract Form Data From PDF
extract_form_data_from_pdfExtract all PDF form fields and values into a structured JSON file for further processing and analysis.
Instructions
Extract all PDF form fields and values via PDF4me /api/v2/ExtractPdfFormData. Input is pdf_file_path; optional request_doc_name and output_dir. Saves extracted_form_data.json with the full API response.
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_file_path": "<pdf_file_path>"
},
"name": "extract_form_data_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | ||
| pdf_file_path | Yes | ||
| request_doc_name | No |