read_table
Read the first rows of a CSV or TSV file to preview column names, sample aliases, and group labels as a markdown table, aiding in data inspection before analysis.
Instructions
Read the first n_rows of a CSV/TSV file from /data and return it as a markdown table. Useful for inspecting column names, sample aliases, and group labels before writing analysis code.
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": {
"filename": "<filename>"
},
"name": "read_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| n_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |