gdb_exec
Execute arbitrary GDB commands with confirm prompts to prevent risks. Supports output parsing and configurable timeout for precise control.
Instructions
Execute an arbitrary GDB CLI command with warning-and-confirm risk handling.
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": {
"command": "<command>"
},
"name": "gdb_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| confirm | No | ||
| timeout | No | ||
| parse | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||