Skip to content
1 min read · 55 words

Variable: parseKvTool

ts
const parseKvTool: Tool<SpooledJsonArtifact<unknown>>;

Extract key-value pairs from text.

Remarks

Handles .env files, config files, and query strings. kv_delimiter chooses the key→value separator (=, :, or auto); pair_delimiter selects how pairs are separated (newline, comma, semicolon, ampersand). Surrounding single or double quotes around values are stripped. Comment lines starting with # are skipped by default.