opencode_send
Send raw text or keystrokes to an OpenCode CLI session to provide input, confirm prompts, or navigate the terminal interface.
Instructions
Sends raw text or keystrokes to the PTY. Supports , , , , , , , , .
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text or key sequence (e.g. 'yes<enter>' or '<ctrl-c>'). | |
| session_id | No | Session ID (defaults to active session). |