submit_prompt
Submit complete prompts to Claude using chunked input and return a cursor to reliably wait for the AI's turn.
Instructions
Paste and submit a complete prompt to Claude using safer chunked input. Returns a non-empty waitAfterCursor for an unambiguous wait_for_claude_turn call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| force | No | Bypass preflight blocks for busy or non-idle captures. Use only after inspecting the session. | |
| lines | No | ||
| chunkSize | No | ||
| pasteMode | No | Use bracketed paste on Windows by default; literal mode sends plain terminal input. | auto |
| tmuxSession | No | Deprecated alias for managedSession. | |
| chunkDelayMs | No | ||
| retryDelayMs | No | Delay between bounded post-submit visibility polls; one retry may wait through four intervals. | |
| submitRetries | No | Maximum extra Enter retries when prompt or pasted-text evidence remains visible. Each retry may wait through four retryDelayMs visibility polls. | |
| managedSession | No | rail-connector-managed |