get_variable_details
Evaluate a variable or attribute in the top stack frame to inspect its current value during a Python debugging session.
Instructions
Evaluate a variable name in the top stack frame.
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_name": "<variable_name>"
},
"name": "get_variable_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable_name | Yes | Variable or attribute expression evaluated in the top frame of the active stack. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||