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}.
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": {
"value": "<value>"
},
"name": "validator_validate_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| min_val | No | ||
| max_val | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |