send_key
Submit terminal commands by sending key presses to interactive programs like Claude sessions after text input.
Instructions
Send a key press to a terminal surface. Use this after send_input to reliably submit commands — especially when targeting interactive programs like Claude sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| surface | Yes | Target surface ref | |
| key | Yes | Key name (e.g. 'return', 'escape', 'tab') | |
| workspace | No | Target workspace ref |