get_field_list
Retrieve all fields in a document to identify placeholders. Use options to select all fields or clickhere fields, and filter by horizontal or vertical direction.
Instructions
Get list of all fields in the document.
Args: doc_id: Document ID from open_document option: 0 = all fields, 1 = clickhere fields only direction: 0 = horizontal, 1 = vertical
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": {
"doc_id": "<doc_id>"
},
"name": "get_field_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| option | No | ||
| direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||