list_form_fields
Lists interactive form fields in a local PDF, including each field's name, type, current value, and page, so you can inspect AcroForm fields before filling.
Instructions
The interactive form fields of a local PDF.
fields holds one entry per field: name (the fully qualified name
fill_form takes), type (text, button, choice, signature or unknown),
value (the current value, or null) and page (0-based, or null when
the field has no widget on a page). An empty list means the document has
no AcroForm fields.
Args: path: The PDF's absolute path on this machine.
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": {
"path": "<path>"
},
"name": "list_form_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |