Strings-LE
v2.5.1Extract string values from config files, data files and plain text.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_strings
Extract every string value from a document. Parses JSON, YAML, CSV, TOML, INI and dotenv; for any other format it falls back to quoted strings — single, double or backtick — so a format is optional but unquoted prose yields nothing. Returns the values themselves, in document order, not their positions.
| Parameter | Type | Description |
|---|---|---|
content * | string | The document text to scan. |
dedupe | boolean | Collapse repeated values to their first occurrence. |
filename | string | Filename used to infer the format when `format` is absent, e.g. "config.toml". |
format | string | Document format. Optional — an unrecognised or absent format falls back to extracting quoted strings. |
maxResults | integer | Cap on returned strings (default 500). meta.truncated reports whether any were dropped. |
multiline | boolean | For a format nothing here parses, let a quoted run span lines, so a multi-line template literal or message is read too. Languages whose own strings span lines are read that way regardless. |