wait_for_claude_turn
Waits for Claude to finish its current turn by monitoring session-log completion and terminal state, ensuring the previous prompt's response is ready before proceeding.
Instructions
Wait for Claude's current turn to finish using record-ordered local session-log completion and terminal state. Pass submit_prompt.waitAfterCursor verbatim.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_for_claude_turn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| afterCursor | No | Optional non-empty opaque baseline returned by submit_prompt; completion requires a different final assistant record. | |
| tmuxSession | No | Deprecated alias for managedSession. | |
| managedSession | No | rail-connector-managed | |
| pollIntervalMs | No | ||
| timeoutSeconds | No |