pwndbg_expression
Evaluate a C/C++ expression within the current debug session frame. Returns the result using LLDB's native expression parser.
Instructions
Evaluate an expression in the current frame (LLDB native).
Args: session_id: The UUID of the session. expression: The expression to evaluate.
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": {
"session_id": "<session_id>",
"expression": "<expression>"
},
"name": "pwndbg_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| expression | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |