{"id":"env-stringify","version":"1.0.0","description":"Serialize unique env key/value entries to a canonical dotenv-subset document.","supported_operations":["env stringify","serialize env entries","stringify dotenv subset"],"unsupported_operations":["preserve comments","single-quoted output","variable expansion","export prefix","read files"],"semantics":["entries is an array of at most 5000 objects { key, value } with unique keys matching [A-Za-z_][A-Za-z0-9_]*.","Each value is a string of at most 64 KiB UTF-8. Values containing CR are rejected.","A value is emitted unquoted iff it matches ^[A-Za-z0-9_./:-]*$, including the empty string as KEY=.","Otherwise the value is double-quoted and \\, \", LF, and TAB are escaped as \\\\ \\\" \\n \\t.","Lines are joined with LF. A non-empty document ends with a trailing LF. Empty entries yield empty text.","Serialized UTF-8 text must not exceed 250 KiB."],"limits":{"max_entries":5000,"max_value_bytes":65536,"max_output_bytes":256000},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["entries"],"properties":{"entries":{"type":"array","maxItems":5000,"items":{"type":"object","additionalProperties":false,"required":["key","value"],"properties":{"key":{"type":"string","minLength":1},"value":{"type":"string","maxLength":65536}}}}}},"output_schema":{"type":"object","additionalProperties":false,"required":["text"],"properties":{"text":{"type":"string","maxLength":256000}}},"examples":[{"input":{"entries":[{"key":"HOST","value":"localhost"},{"key":"NAME","value":"Ada Lovelace"},{"key":"NOTE","value":"say \"hi\"\nnow"},{"key":"EMPTY","value":""},{"key":"TAB","value":"a\tb"}]},"output":{"text":"HOST=localhost\nNAME=\"Ada Lovelace\"\nNOTE=\"say \\\"hi\\\"\\nnow\"\nEMPTY=\nTAB=\"a\\tb\"\n"}}],"execute_url":"/v1/tools/env-stringify/versions/1.0.0/execute"}