read_csv
Read a CSV file and return its contents as formatted text. Specify delimiter (default comma) and whether the first row is a header.
Instructions
Read a CSV file and return its contents.
Args: file_path: Path to the CSV file delimiter: Column delimiter (default comma) has_header: Whether the first row is a header
Returns: CSV contents as formatted text or error message
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": {
"file_path": "<file_path>"
},
"name": "read_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delimiter | No | , | |
| file_path | Yes | ||
| has_header | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |