Skip to Content

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

NameTypeDescription
document_idrequiredstringId 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"
  ]
}

On this page