list_form_fields
Lists a PDF form’s fields—name, type, current value, allowed options, flags, and page—so you can identify inputs before filling them.
Instructions
List a PDF form's fields: full name, type, current value, allowed options, flags, page.
Use the names with fill_form. If copying is forbidden and only the open password is given, values are withheld (values_hidden) but the fields are still listed.
Any password argument can be "ask": the user then types it on a local page, so it never passes through the chat.
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": {
"input_path": "<input_path>"
},
"name": "list_form_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | ||
| input_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| count | Yes | ||
| fields | Yes | ||
| has_form | Yes | ||
| values_hidden | Yes |