fill_form
Populate PDF form fields (text, checkboxes, radio buttons, dropdowns) with specified values and save the filled document to a given output path.
Instructions
Fill form fields in a PDF document with provided values and save to output path. Supports text fields, checkboxes, radio buttons, and dropdowns.
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>",
"fields": "<fields>",
"output_path": "<output_path>"
},
"name": "fill_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Dictionary of field names and their values to fill | |
| file_path | Yes | Path to the source PDF file | |
| output_path | Yes | Path where the filled PDF will be saved |