gdb_call_function
Execute functions in a debugged Nintendo Switch process to test code behavior or modify runtime state during debugging sessions.
Instructions
Call a function in the target process. WARNING: executes code in the debugged program.
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": {
"function_call": "<function_call>"
},
"name": "gdb_call_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_call | Yes | Function call expression (e.g., 'printf("hello\n")' or 'my_func(arg1, arg2)') |