get_form_rules
Read a document's form rules: its sections and skip logic, as the app's Detect step shows them on each question. sections[] are the form's parts and numbered questions ({ id, kind: part|question, label, number, parent_id }); rules[] are its skip logic, in order: when the choice question group_id is answered with one of option_values, the sections in skip[] are not needed and goto (a section id, or null) is where the form sends the reader next. source is page_text (read from the form's printed words), llm, or manual (a person's).
readOnly reads. Clients can run it without asking you.
What it does
Read a document's form rules: its sections and skip logic, as the app's Detect step shows them on each question. sections[] are the form's parts and numbered questions ({ id, kind: part|question, label, number, parent_id }); rules[] are its skip logic, in order: when the choice question group_id is answered with one of option_values, the sections in skip[] are not needed and goto (a section id, or null) is where the form sends the reader next. source is page_text (read from the form's printed words), llm, or manual (a person's). Read this before set_form_rules (which replaces the whole list).
Inputs
| Name | Type | Description |
|---|---|---|
document_idrequired | string | The document's id. |
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": "get_form_rules",
"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": "The document's id."
}
},
"required": [
"document_id"
]
}update_group
Edit one choice question (from list_groups), as the app's question editor does: rename it (label), switch kind (single = pick one, multi = pick several), set max (multi only: answer up to N; null = no limit), replace its options (2-200 tick boxes on this document, each { field_id, label, value }: value is what the box stamps; a box moves out of any other question, and a question left with one box is dropped), set other_field_id (a plain text box filled when the client picks Other; null detaches it), or confirmed: true to settle a flagged question as checked.
set_form_rules
Replace a document's whole skip-rule list, in order, as the app's Detect step saves it when a person edits, removes or adds a rule on a question.