step
Control execution of a debug session by continuing, advancing over/into/out of code, or pausing; waits for the program to stop and returns the new state.
Instructions
Control execution of a debug session: continue, step over (next), step into, step out, or pause. Waits for the program to stop and returns the new state.
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": {
"action": "<action>"
},
"name": "step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Execution control action | |
| detail | No | 'compact' (default: frame-local scopes, short stack, slimmer JSON) or 'full' (same shape as get_state) | |
| timeout | No | Milliseconds to wait for the program to stop after the action (default: 30000) | |
| threadId | No | Thread ID (uses stopped thread if omitted) | |
| sessionId | No | Session ID (omit if only one session is active) |