validator_validate_range
Determine if a numeric value lies within a specified range (min/max). Returns a boolean valid flag, the value checked, and a reason string explaining the outcome.
Instructions
[validator] Validate that a number is within a range. Returns {valid: bool, value: number, reason: str}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| min_val | No | ||
| max_val | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |