evaluate_expression
Evaluates a C expression or symbol in the current GDB debugging context to inspect values, types, and program state during firmware debugging.
Instructions
Evaluate a C expression or symbol in the current GDB context.
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": {
"expression": "<expression>"
},
"name": "evaluate_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |