Skip to content
1 min read · 44 words

Variable: formatTableTool

ts
const formatTableTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/structured_data/index.ts:41

Convert a JSON array of objects into a formatted table.

Remarks

Supports markdown, csv, and tsv output. Columns default to the keys of the first row; supply columns to control which keys appear and in what order.