json-shaper-lite

v1.1.2
io.github.tidybytetools/json-shaper-lite Checked 4 hours ago Published 21 days ago

Turn key: value notes, CSV/TSV and Markdown tables into typed JSON.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

shape_text_to_json Turn text into JSON

Turn pasted text (key: value notes, CSV/TSV or a Markdown table) into typed JSON. Use this when you have plain-text records or a table in the conversation and need clean JSON you can trust, without guessing values yourself. It is plain code, not an AI model, so the same text always gives the same JSON and nothing is made up. Do not use it when the text is already JSON, is nested data, is app logs, or is a file on disk (use shape_file_to_json for files). format: "auto" (default) picks for you. Or force "kv" (key: value or key=value lines, a blank line starts a new reco…

ParameterTypeDescription
text *stringThe text to turn into JSON: key: value lines, CSV/TSV or a Markdown table.
formatstringInput format. "auto" picks for you; "kv" = key: value lines, "csv" = CSV/TSV, "markdown" = a pipe table.

shape_file_to_json Turn a text file into JSON

Read a local text file (key: value notes, .csv, .tsv or a Markdown table) and return typed JSON. Use this when the data is in a file on this computer, so you don't have to paste it. The file is only read, never changed. Do not use it for Excel (.xlsx), PDF or other binary files, for files that are already JSON, or for app logs. path: full path to a UTF-8 text file, up to 5 MB. format: "auto" (default) picks for you. Or force "kv" (key: value or key=value lines, a blank line starts a new record), "csv" (comma, semicolon, tab or | separated, first row is the header) or "mar…

ParameterTypeDescription
path *stringFull path to a UTF-8 text file (.txt, .csv, .tsv, .md), up to 5 MB.
formatstringInput format. "auto" picks for you; "kv" = key: value lines, "csv" = CSV/TSV, "markdown" = a pipe table.