stata_data
Inspect an in-memory Stata dataset to produce overviews, summaries, codebooks, listings, tabulations, missing-value checks, and counts filtered by varlist or if conditions.
Instructions
Inspect the dataset in memory.
action: overview | describe | summarize | detail (summarize, detail) | codebook | list |
tabulate | xtdescribe | missing | count
varlist: optional Stata varlist; condition: optional Stata if expression (without the word if);
n: rows for list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stata_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| action | No | overview | |
| varlist | No | ||
| condition | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |