ag_table_csv_to_json
Convert CSV or TSV text into JSON row objects with automatic delimiter detection and optional header handling, providing a deterministic parsing alternative.
Instructions
Parse CSV/TSV text into JSON row objects (delimiter auto-detected).
Parses delimited text into an array of objects keyed by header. Auto-detects , ; tab |; header optional. Deterministic alternative to model-based table reading.
Deterministic, fixture-verified, free for guests (rate-limited; pass your Guild api_key to use your member budget). Returns the result plus a Guild-signed provenance envelope.
payload MUST match this JSON Schema:
{"type": "object", "properties": {"csv": {"type": "string", "maxLength": 60000}, "delimiter": {"type": "string", "maxLength": 1}, "has_header": {"type": "boolean"}}, "required": ["csv"], "additionalProperties": false}
Output schema: {"type": "object", "properties": {"rows": {"type": "array"}, "columns": {"type": "array"}, "count": {"type": "integer"}, "delimiter": {"type": "string"}}, "required": ["rows", "columns", "count"], "additionalProperties": false}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"payload": "<payload>"
},
"name": "ag_table_csv_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| payload | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||