execute_openocd_command
Runs an allowlisted OpenOCD Tcl command to inspect or control a debug target, requiring explicit user approval before destructive actions like flash erase or programming.
Instructions
Execute one allowlisted OpenOCD Tcl command.
Set user_approved=true only after the user has explicitly approved a potentially destructive operation such as flash erase/programming.
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": "execute_openocd_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| user_approved | No |