{"id":"jsonl-validate","version":"1.0.0","description":"Validate strict JSON Lines text and report the value count and UTF-8 byte length.","supported_operations":["jsonl validate","validate json lines","check jsonl document"],"unsupported_operations":["JSONL comments","concatenated JSON without newlines","NDJSON with blank lines","JSON schema validation","return valid false","read files"],"semantics":["text is strict JSON Lines split on CRLF, CR, or LF.","A trailing empty segment after a final newline is ignored; internal empty lines are rejected.","A document that is empty or only a trailing newline has zero JSON values.","At most 5000 lines are accepted.","Each line is parsed with JSON.parse and must be a JSON-safe value: object, array, string, boolean, null, or safe integer.","Non-finite numbers, non-integers, and integers outside Number.MAX_SAFE_INTEGER are rejected.","On success the output is valid true, the JSON value count, and the UTF-8 byte length of text.","Invalid JSONL throws; the tool never returns valid false."],"limits":{"max_input_bytes":256000,"max_lines":5000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","maxLength":256000}}},"output_schema":{"type":"object","additionalProperties":false,"required":["valid","lines","bytes"],"properties":{"valid":{"type":"boolean","const":true},"lines":{"type":"integer","minimum":0,"maximum":5000},"bytes":{"type":"integer","minimum":0,"maximum":256000}}},"examples":[{"input":{"text":"{\"name\":\"Ada\",\"ok\":true}\n\"שלום\"\n0\nnull\n"},"output":{"valid":true,"lines":4,"bytes":43}}],"execute_url":"/v1/tools/jsonl-validate/versions/1.0.0/execute"}