switch_thread
Change the debugger's active thread to a specified thread ID. Streamlines multi-threaded debugging by enabling direct focus on individual threads.
Instructions
Switch the debugger's active thread. Pass the thread ID from list_debugger_threads.
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": {
"tid": "<tid>"
},
"name": "switch_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |