AI-Process Marriage Certificate
process_marriage_certificateExtract structured data from marriage certificate files (PDF or image) using AI. Optionally verify authenticity and extract custom fields to streamline document processing.
Instructions
AI-Process Marriage Certificate: extract structured data via PDF4me POST /api/v2/ProcessMarriageCertificate. Base body: docContent, docName, IsAsync (true). VerifyAuthenticity is sent only when verify_authenticity is true (property omitted when false). CustomFieldKeys (PascalCase) is sent only when custom_field_keys is a non-empty list. Provide pdf_file_path (local .pdf/.png/.jpg/.jpeg). doc_name optional (basename); names without an extension get .pdf. 202 + Location poll; saves process_marriage_certificate.json.
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": "process_marriage_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | No | ||
| output_dir | No | ||
| pdf_file_path | No | ||
| custom_field_keys | No | ||
| verify_authenticity | No |