{"id":"sequence-lcsubstring","version":"1.0.0","description":"Find the longest contiguous common subarray of two bounded sequences.","supported_operations":["sequence lcsubstring","longest common substring of two sequences","longest contiguous common subarray"],"unsupported_operations":["longest common subsequence","fuzzy matching","unicode normalization","locale compare","patience unique anchors"],"semantics":["left and right are sequences of JSON null, boolean, string, or IEEE-754 safe integer items.","The result is the longest contiguous common subarray, not a subsequence.","On equal length, the smallest left_start wins, then the smallest right_start.","If length is 0, items is [], left_start is 0, and right_start is 0.","left [\"A\",\"B\",\"C\",\"D\"] and right [\"X\",\"B\",\"C\",\"Y\"] yields items [\"B\",\"C\"], left_start 1, right_start 1.","The string \"__proto__\" is an ordinary item. Unknown input fields are rejected."],"limits":{"max_sequence_items":1024,"max_item_string_bytes":4096,"max_text_bytes":262144,"max_output_bytes":1048576},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["left","right"],"properties":{"left":{"type":"array","maxItems":1024,"items":{"description":"null, boolean, UTF-8 string, or IEEE-754 safe integer","type":["null","boolean","string","integer"]}},"right":{"type":"array","maxItems":1024,"items":{"description":"null, boolean, UTF-8 string, or IEEE-754 safe integer","type":["null","boolean","string","integer"]}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["items","length","left_start","right_start"],"properties":{"items":{"type":"array","maxItems":1024,"items":{"description":"null, boolean, UTF-8 string, or IEEE-754 safe integer","type":["null","boolean","string","integer"]}},"length":{"type":"integer","minimum":0},"left_start":{"type":"integer","minimum":0},"right_start":{"type":"integer","minimum":0}}},"examples":[{"input":{"left":["A","B","C","D"],"right":["X","B","C","Y"]},"output":{"items":["B","C"],"length":2,"left_start":1,"right_start":1}}],"execute_url":"/v1/tools/sequence-lcsubstring/versions/1.0.0/execute"}