List PDF form fields
list_form_fieldsUse this when the user attaches a fillable PDF form and wants to see its fields or wants it filled. It returns each AcroForm field with its full name, type (text, checkbox, radio, dropdown, listbox, signature), current value, options, required flag, maximum length, page and the printed label next to it, 40 fields at a time (use start for more). Does not change the PDF. Does not read XFA-only forms or scanned paper forms with no fields.
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>"
},
"name": "list_form_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The fillable PDF form, e.g. volunteer-form.pdf. | |
| page | No | Only list fields on this page, e.g. 2. Default: all pages. | |
| start | No | Skip this many fields for long forms, e.g. 40 to see fields 41-80. Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| notes | Yes | ||
| start | Yes | ||
| counts | Yes | ||
| fields | Yes | ||
| status | Yes | ||
| next_start | Yes | ||
| page_count | Yes | ||
| labels_read | Yes | ||
| page_filter | Yes | ||
| fields_total | Yes | ||
| fields_listed | Yes | ||
| preview_count | No | ||
| required_empty | Yes |