pwndbg_command
Execute any LLDB or pwndbg command not available as a dedicated tool. Use this escape hatch for arbitrary commands during debugging sessions.
Instructions
Execute an arbitrary LLDB or pwndbg command (escape hatch).
Use this for any command not exposed as a dedicated tool. Both native LLDB commands and pwndbg-registered commands are supported.
Args: session_id: The UUID of the session. command: The full command string to execute.
See: https://pwndbg.re/2025.05.30/reference/pwndbg/dbg/lldb/
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>",
"command": "<command>"
},
"name": "pwndbg_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |