list_form_fields
Inspect a PDF and return every fillable field: name, type, current value, and x/y position on the page.
ALWAYS call this before fill_form. Use the exact field names returned here — never guess.
Use the position coordinates (x, y) to identify what each field represents visually:
higher y = higher on the page in PDF coordinates. Fields with similar y values are on
the same horizontal line; fields with similar x values are in the same column.
The response also includes pdf_type so you know if the PDF may have rendering quirks.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": {
"pdf_path": "<pdf_path>"
},
"name": "list_form_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your FormFill API key (get one at formfill.plenitudo.ai). | |
| pdf_path | Yes | Absolute path to the PDF file on disk. | |
| payment_proof | No | x402 payment proof (tx hash). Alternative to api_key for pay-per-use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |