Skip to content
1 min read · 61 words

Variable: parseCsvTool

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

Parse a CSV or TSV string into a JSON array.

Remarks

With has_header: true (default), each row becomes an object keyed by column name. Without a header, rows are returned as positional arrays. delimiter auto-detects when omitted; pass "\t" for TSV. Rows are clipped to limit (default 1000, max 10000). Parse warnings are prepended to the output.