{"id":"iso-datetime-clamp","version":"1.0.0","description":"Clamp a strict UTC ISO-8601 datetime into an inclusive [min, max] range.","supported_operations":["iso datetime clamp","bound datetime to range","restrict utc datetime to min max"],"unsupported_operations":["leap seconds","time zones","offsets other than Z","fractional seconds","open ranges"],"semantics":["datetime, min, and max must match YYYY-MM-DDTHH:MM:SSZ with zero-padded fields and a real proleptic Gregorian UTC civil time, years 0001-9999.","min must not be after max on the UTC millisecond timeline, or the call is rejected.","If datetime is before min, the result is min. If datetime is after max, the result is max. Otherwise the result is datetime unchanged."],"limits":{"min_year":1,"max_year":9999},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["datetime","min","max"],"properties":{"datetime":{"type":"string","minLength":20,"maxLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"min":{"type":"string","minLength":20,"maxLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"},"max":{"type":"string","minLength":20,"maxLength":20,"pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["datetime"],"properties":{"datetime":{"type":"string","minLength":20,"maxLength":20}}},"examples":[{"input":{"datetime":"2026-09-15T00:00:00Z","min":"2026-09-15T08:00:00Z","max":"2026-09-15T18:00:00Z"},"output":{"datetime":"2026-09-15T08:00:00Z"}},{"input":{"datetime":"2026-09-15T12:00:00Z","min":"2026-09-15T08:00:00Z","max":"2026-09-15T18:00:00Z"},"output":{"datetime":"2026-09-15T12:00:00Z"}}],"execute_url":"/v1/tools/iso-datetime-clamp/versions/1.0.0/execute"}