get_data_info
Retrieve descriptive statistics, variable details, and optional preview rows from a data file to understand its structure when exploring an unfamiliar dataset.
Instructions
Get descriptive statistics and a data preview for a supported data file (.dta, .csv, .tsv, .psv, .xlsx, .xls, .sav, .zsav). Returns overview, variable details, and optional head rows filtered by requested variables. Use when you need to understand a dataset or have no prior knowledge of the data.
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_path": "<data_path>"
},
"name": "get_data_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | No | ||
| encoding | No | utf-8 | |
| data_path | Yes | ||
| vars_list | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |