data_inspect
Inspect a dataset to reveal dimensions, column types, missing counts, distinct counts, and first rows. Use before analysis to identify numeric versus factor columns, ensuring the right test.
Instructions
Inspect a dataset: dimensions, per-column type, missing counts, distinct counts, example values, and the first rows. Run this before choosing an analysis - it tells you which columns are numeric versus factors, which is what determines whether a test will work.
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": {
"data": "<data>"
},
"name": "data_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of rows to preview. | |
| data | Yes | Dataset name in the session. | |
| variables | No | Restrict to these columns. |