Get form logic

Show and hide rules on questions and the branches between pages.

MCP tool fillout_read → get_form_logic

read

Returns the conditions set on each question (hide when, hide always) and the page branches from the Logic view, each with its condition and target page. Read it before changing logic so a new rule does not collide with an old one.

Parameters

Parameters: get_form_logic
NameTypeDescription
form_id string required string Form ID from list_forms.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fillout_read",
    "arguments": {
      "operation": "get_form_logic",
      "arguments": {
        "form_id": "form_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "form_id": "rK8mTn4vYb1C",
    "question_rules": [
      {
        "question_id": "q_org_description",
        "hide_always": false,
        "hide_when": [
          {
            "source": "answer",
            "question_id": "q_company_type",
            "operator": "is not",
            "value": "Non-profit"
          }
        ]
      }
    ],
    "page_branches": [
      {
        "from_page": "Info",
        "to_page": "Accepted",
        "condition": {
          "question_id": "q_company_type",
          "operator": "is",
          "value": "Student"
        }
      }
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.