PDF AcroForm Filler
Fill standard PDF forms programmatically (text, checkbox, radio, dropdown/list) using JSON data injection
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| pdfFile | file (Upload required) | Yes | - |
| fieldDataJson | textarea | Yes | JSON object where key = field name, value = field value |
| removeXfaBeforeFill | checkbox | No | For hybrid PDFs, remove XFA packet and fill AcroForm fallback |
| flatten | checkbox | No | Flatten fields to make result non-editable |
| strictMode | checkbox | No | Fail immediately when any field cannot be mapped/written |
File type parameters need to be uploaded first via POST /upload/pdf-acroform-filler to get filePath, then pass filePath to the corresponding file field.
Response Format
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-pdf-acroform-filler": {
"name": "pdf-acroform-filler",
"description": "Fill standard PDF forms programmatically (text, checkbox, radio, dropdown/list) using JSON data injection",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=pdf-acroform-filler",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
Supports URL file links or Base64 encoding for file parameters.
If you encounter any issues, please contact us at [email protected]