{"id":"array-integer-clamp","version":"1.0.0","description":"Clamp an array of canonical integer strings to optional inclusive min and max bounds.","supported_operations":["array integer clamp","clamp integer array to bounds","bound integer values by min and max"],"unsupported_operations":["floating point clamp","percentile clipping","outlier detection","interpolate out-of-range values","CSV column clamp"],"semantics":["Input values is an array of at most 10000 canonical integer strings.","A canonical integer is 0 or an optional ASCII minus followed by a non-zero leading digit and only digits after that.","Input -0 is accepted and canonicalized to 0; +, spaces, underscores, hex, exponents, empty strings, and other leading zeros are rejected.","Integers are parsed with BigInt. IEEE-754 numbers are rejected.","At least one of min and max is required. When present they are canonical integer strings.","When both bounds are present, min must be less than or equal to max.","Each output value is min if below min, max if above max, otherwise the canonicalized input.","An empty values array is allowed.","Each input, min, and max may have at most 1000 digits excluding the sign."],"limits":{"max_items":10000,"max_digits":1000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["values"],"anyOf":[{"required":["min"]},{"required":["max"]}],"properties":{"values":{"type":"array","maxItems":10000,"items":{"type":"string","minLength":1,"maxLength":1001}},"min":{"type":"string","minLength":1,"maxLength":1001},"max":{"type":"string","minLength":1,"maxLength":1001}}},"output_schema":{"type":"object","additionalProperties":false,"required":["values"],"properties":{"values":{"type":"array","maxItems":10000,"items":{"type":"string","pattern":"^(0|-?[1-9][0-9]*)$","maxLength":1001}}}},"examples":[{"input":{"values":["-4","2","9","15"],"min":"0","max":"10"},"output":{"values":["0","2","9","10"]}}],"execute_url":"/v1/tools/array-integer-clamp/versions/1.0.0/execute"}