{"id":"iso-date-clamp","version":"1.0.0","description":"Clamp a YYYY-MM-DD calendar date into an inclusive [min, max] range.","supported_operations":["iso date clamp","bound date to range","restrict date to min max"],"unsupported_operations":["datetime input","timezones","open ranges"],"semantics":["date, min, and max are strict YYYY-MM-DD proleptic Gregorian UTC calendar dates with year 0001-9999.","min must not be after max, or the call is rejected.","If date is before min, the result is min. If date is after max, the result is max. Otherwise the result is date unchanged."],"limits":{"year_min":1,"year_max":9999},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["date","min","max"],"properties":{"date":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"min":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"max":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","minLength":10,"maxLength":10}}},"examples":[{"input":{"date":"2026-01-01","min":"2026-02-01","max":"2026-03-01"},"output":{"date":"2026-02-01"}},{"input":{"date":"2026-02-15","min":"2026-02-01","max":"2026-03-01"},"output":{"date":"2026-02-15"}}],"execute_url":"/v1/tools/iso-date-clamp/versions/1.0.0/execute"}