validate_branching_logic
Scan all branching logic expressions for references to non-existent fields, returning a confirmation or a list of broken references with locations.
Instructions
Scan all branching logic expressions for references to non-existent fields.
Checks every field's branching_logic for [field_name] tokens that do not match any field in the data dictionary. For longitudinal projects, event names in [event_name][field_name] syntax are excluded from the check.
Returns: A confirmation message if all references are valid, or a JSON object listing every broken reference with its location.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_branching_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |