{"id":"env-parse","version":"1.0.0","description":"Parse a strict dotenv-subset document into ordered key/value entries.","supported_operations":["env parse","parse dotenv subset","parse env file text"],"unsupported_operations":["export prefix","variable expansion","multiline quoted values","INI sections","read files"],"semantics":["text is split on CRLF, CR, or LF with the JSONL line splitter; a trailing empty segment after a final newline is ignored.","Empty lines are ignored. A line whose first character is # is a comment; leading whitespace is not stripped.","Each remaining line is KEY=VALUE where KEY matches [A-Za-z_][A-Za-z0-9_]*. The export prefix is rejected.","Unquoted VALUE is the remainder of the line, including spaces, with no inline-comment stripping.","A VALUE that starts with \" or ' must be a well-formed quoted value; otherwise the line is rejected.","Double-quoted values allow only \\\\ \\\" \\n \\t escapes. Single-quoted values have no escapes and cannot contain a quote.","Duplicate keys are rejected. Output entries are in first-seen order. env is a null-prototype map of those pairs."],"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":["entries","env"],"properties":{"entries":{"type":"array","maxItems":5000,"items":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string"},"value":{"type":"string"}}}},"env":{"type":"object","additionalProperties":{"type":"string"}}}},"examples":[{"input":{"text":"# greeting\nNAME=Ada\nCITY=\"Tel Aviv\"\nNOTE='שלום'\nFLAG=\nPATH_EXTRA=bin/app:./scripts\n"},"output":{"entries":[{"key":"NAME","value":"Ada"},{"key":"CITY","value":"Tel Aviv"},{"key":"NOTE","value":"שלום"},{"key":"FLAG","value":""},{"key":"PATH_EXTRA","value":"bin/app:./scripts"}],"env":{"NAME":"Ada","CITY":"Tel Aviv","NOTE":"שלום","FLAG":"","PATH_EXTRA":"bin/app:./scripts"}}}],"execute_url":"/v1/tools/env-parse/versions/1.0.0/execute"}