cja_validate_segment
Validate a segment definition for syntax and compatibility with a data view before creating or updating it.
Instructions
Validate a segment definition before creating or updating.
This tool checks if a segment definition is syntactically correct and compatible with the specified data view. Always use this before creating a new segment.
Args: definition: Segment definition to validate (required). dataview_id: Optional data view ID to validate against (uses configured default if not provided).
Returns: Dictionary with validation result and compatibility information.
Example queries: - "Validate this segment definition before I create it" - "Check if this filter definition is valid" - "Is this segment compatible with my data view?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definition | Yes | ||
| dataview_id | No |