describe_variable
Get a variable's codebook details and observed distribution, and identify refused/don't-know codes to handle missing values.
Instructions
Codebook entry (label, question text, target population, value codes) plus observed distribution. Flags codes that look like refused/don't-know so they can be set to missing.
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": {
"variable": "<variable>",
"table": "<table>",
"cycle": "<cycle>"
},
"name": "describe_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycle | Yes | ||
| table | Yes | ||
| variable | Yes |