List variables
list_variablesLists model inputs and outputs with units, shape, description, and current value, so you can inspect variables and filter by kind or name.
Instructions
List model inputs and/or outputs with units, shape, description and current value.
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": {
"problem_id": "<problem_id>"
},
"name": "list_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | both | |
| problem_id | Yes | ||
| name_filter | No | ||
| max_variables | No | ||
| promoted_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| truncated | No | ||
| variables | No |