Display Logic Rule Update Text
display_logic_rule_update_textSet the text a string condition matches (string_contains, string_does_not_contain, is_string_equal_to, is_string_not_equal_to, string_begins_with, string_ends_with), in one of the survey's languages. Draft surveys only. Call it after creating such a rule, which starts without text.
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": {
"displayLogicRuleId": "<displayLogicRuleId>",
"surveyId": "<surveyId>",
"ruleCondition": "<ruleCondition>",
"lang": "<lang>",
"textFields": "<textFields>"
},
"name": "display_logic_rule_update_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | Language code (e.g., "en") | |
| surveyId | Yes | The survey ID | |
| textFields | Yes | ||
| ruleCondition | Yes | The rule condition type | |
| displayLogicRuleId | Yes | Rule ID to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |