gdb_command
Execute raw GDB commands within a live debugging session and retrieve the output to inspect program state, set breakpoints, or step through code.
Instructions
Execute a raw gdb command within a session and return the output.
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": "gdb_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| command | Yes | ||
| timeout_seconds | No |