gdb_command
Execute GDB debugging commands via API to manage sessions, set breakpoints, and inspect variables within the MCP GDB Server environment.
Instructions
Execute a GDB command
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": {
"sessionId": "<sessionId>",
"command": "<command>"
},
"name": "gdb_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | GDB command to execute | |
| sessionId | Yes | GDB session ID |