Display Logic Group Create
display_logic_group_createAdd another leg of conditions to a question's display logic (draft surveys only); the container's 'or'/'and' combines legs. Each group has exactly one source: sourceSurveyItemId (an answer) or sourceUrlParameterId (an enum URL parameter, with is/is_not and args { value: "" }), and starts with one rule; add rules with display_logic_rule_create. displayLogicContainerId comes from display_logic_list or display_logic_container_create.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"displayLogicContainerId": "<displayLogicContainerId>",
"surveyId": "<surveyId>",
"groupCondition": "<groupCondition>",
"displayLogicRules": "<displayLogicRules>"
},
"name": "display_logic_group_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surveyId | Yes | The survey ID | |
| groupCondition | Yes | How to combine rules in this group | |
| displayLogicRules | Yes | Exactly one rule for this group with ruleCondition and args. For url-param sources: { ruleCondition: "is"|"is_not", args: { value: "<enum value>" } }. | |
| sourceSurveyItemId | No | Answer source: question whose answer triggers the logic. Mutually exclusive with sourceUrlParameterId (provide exactly one). | |
| sourceUrlParameterId | No | URL-parameter source: survey URL parameter whose value triggers the logic. Mutually exclusive with sourceSurveyItemId (provide exactly one). | |
| displayLogicContainerId | Yes | Container ID to add group to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |