{"id":"regex-split-check","version":"1.0.0","description":"Checks claimed regex split parts and separator boundaries in deterministic source order.","supported_operations":["check regex split claim","validate split boundaries","verify split parts","compare delimiter spans","find first split mismatch","check bounded regex segmentation"],"unsupported_operations":["return repaired split output","use capturing delimiters"],"semantics":["Parts are source slices between non-overlapping matches; separator boundaries are UTF-16 half-open intervals.","Parts are compared before boundaries, then by ascending array index; duplicates and empty strings are significant."],"limits":{"max_input_bytes":65536,"max_pattern_bytes":256,"max_claim_items":4096,"max_matches":4096,"max_result_bytes":262144,"max_claim_parts":4097},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string","maxLength":65536},"pattern":{"type":"string","minLength":1,"maxLength":256},"flags":{"type":"string","maxLength":2},"claimed_parts":{"type":"array","maxItems":4097,"items":{"type":"string","maxLength":65536}},"claimed_boundaries":{"type":"array","maxItems":4096,"items":{"type":"object","additionalProperties":false,"properties":{"start":{"type":"integer","minimum":0},"end":{"type":"integer","minimum":0}},"required":["start","end"]}}},"required":["text","pattern","flags","claimed_parts","claimed_boundaries"]},"output_schema":{"type":"object","additionalProperties":false,"properties":{"valid":{"type":"boolean"},"reason":{"type":"string"},"discrepancy":{"type":"object","additionalProperties":false,"properties":{"path":{"type":"string"},"index":{"type":"integer","minimum":0},"expected":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"},{"type":"object","additionalProperties":false,"properties":{"start":{"type":"integer","minimum":0},"end":{"type":"integer","minimum":0}},"required":["start","end"]}]},"actual":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"null"},{"type":"object","additionalProperties":false,"properties":{"start":{"type":"integer","minimum":0},"end":{"type":"integer","minimum":0}},"required":["start","end"]}]}},"required":["path","index","expected","actual"]},"reference_version":{"type":"string"}},"required":["valid","reference_version"]},"examples":[{"input":{"text":"a,b,c","pattern":",","flags":"","claimed_parts":["a","b","c"],"claimed_boundaries":[{"start":1,"end":2},{"start":3,"end":4}]},"output":{"valid":true,"reference_version":"RE2-syntax-2024-07; ECMA-262-2025-index-and-replacement"}},{"input":{"text":"a b","pattern":"\\s","flags":"","claimed_parts":["a","x"],"claimed_boundaries":[{"start":1,"end":2}]},"output":{"valid":false,"reason":"claim_mismatch","discrepancy":{"path":"claimed_parts","index":1,"expected":"b","actual":"x"},"reference_version":"RE2-syntax-2024-07; ECMA-262-2025-index-and-replacement"}}],"execute_url":"/v1/tools/regex-split-check/versions/1.0.0/execute"}