csv_to_json
Converts a CSV string (with configurable delimiter and header option) into JSON format.
Instructions
Convert CSV data to JSON.
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": {
"csv_string": "<csv_string>"
},
"name": "csv_to_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_string | Yes | CSV string to convert | |
| delimiter | No | CSV delimiter (default: ,) | , |
| has_header | No | Whether first row is header (default: True) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |