Fill PDF form
fill_pdf_formFill a PDF form's fields by name (text, checkboxes as true/false, radio and dropdown options) and optionally flatten it so it can't be edited. Unknown field names are an error with suggestions. Uses one render.
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": "<file>",
"fields": "<fields>"
},
"name": "fill_pdf_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF form. | |
| fields | Yes | Field name to value: string, number, boolean, or a list for multi-select fields. | |
| strict | No | Default true. False skips unknown field names. | |
| flatten | No | Make the filled form read-only. |