list_fields
List a document's current fields (post-detection, including any corrections already applied via correct_field).
readOnly reads. Clients can run it without asking you.
What it does
List a document's current fields (post-detection, including any corrections already applied via correct_field). Use this to see each field's id (needed by correct_field/fill_document), semantic_type, and flagged status before filling. groups[] lists the choice questions: each has an id, label, kind (single = pick one, multi = pick up to max), the form's own instruction, and options [{ field_id, value, label }]. Answer a question with values[<group id>] in fill_document / send_envelope — never by setting its option boxes one by one.
Inputs
| Name | Type | Description |
|---|---|---|
document_idrequired | string | Id returned by upload_document. |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_fields",
"arguments": {
"document_id": "<document_id>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"properties": {
"document_id": {
"type": "string",
"description": "Id returned by upload_document."
}
},
"required": [
"document_id"
]
}detect_fields
Run field detection on a previously uploaded document and persist the detected fields, exactly as the AppliFlo app does: the form's sections and skip rules are saved, block-letter forms are noted, and corrections the workspace made to this same form before come back (remembered = how many).
correct_field
Apply a correction to one detected field (label, semantic_type, bbox, and/or field type — every patch key is optional, only the keys you send are changed).