step_out
Steps out of the current function and briefly waits for execution to stop; if the step is still running after ~5s, returns a pending status for waiting until it pauses.
Instructions
Step out of the current function. Waits briefly for the program to stop; if the step is still executing after ~5s (e.g. the rest of the function is long-running), returns success with state "running" and pending:true — the session becomes "paused" when the step completes (call wait_for_stop to block until then)
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": {
"sessionId": "<sessionId>"
},
"name": "step_out"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes |