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.
destructiveSends, cancels or emails people. Clients ask you before running it.
What it does
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. Send only what changes. Any edit makes the question the person's own (source manual). Returns the question as list_groups shows it. Skip rules on the question are edited with set_form_rules.
Inputs
| Name | Type | Description |
|---|---|---|
document_idrequired | string | The document's id. |
group_idrequired | string | The question's id, from list_groups.Up to 64 characters |
label | string | Up to 300 characters |
kind | string | One of: single, multi |
max | integer | null | Multi only: the most answers allowed; null = no limit.1 to 200 |
options | object[] | The question's whole option list, in order.2 to 200 items |
field_idrequired | string | A tick box on this document (list_fields).Up to 64 characters |
labelrequired | string | What the client sees.Up to 200 characters |
valuerequired | string | What the box stamps.Up to 120 characters |
confirmed | true | true marks a flagged question as checked by a person. |
other_field_id | string | null | A text box to use as the question's Other box; null detaches it.Up to 64 characters |
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": "update_group",
"arguments": {
"document_id": "<document_id>",
"group_id": "<group_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."
},
"group_id": {
"type": "string",
"maxLength": 64,
"description": "The question's id, from list_groups."
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"kind": {
"type": "string",
"enum": [
"single",
"multi"
]
},
"max": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 200,
"description": "Multi only: the most answers allowed; null = no limit."
},
"options": {
"type": "array",
"minItems": 2,
"maxItems": 200,
"description": "The question's whole option list, in order.",
"items": {
"type": "object",
"properties": {
"field_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "A tick box on this document (list_fields)."
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "What the client sees."
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "What the box stamps."
}
},
"required": [
"field_id",
"label",
"value"
]
}
},
"confirmed": {
"type": "boolean",
"const": true,
"description": "true marks a flagged question as checked by a person."
},
"other_field_id": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 64,
"description": "A text box to use as the question's Other box; null detaches it."
}
},
"required": [
"document_id",
"group_id"
]
}list_groups
List a document's choice questions: groups of tick boxes answered as one question (e.g.
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).