debug.get_variable
Retrieve the value of a local variable by name from a specific thread and stack frame to inspect Java application runtime state during debugging.
Instructions
Read one local variable by name
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": {
"name": "<name>"
},
"name": "debug.get_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_index | No | ||
| name | Yes | ||
| thread_id | No | hex, optional |