pty_connect
Create or reconnect to an interactive PTY session on a devbox, returning a WebSocket URL for sending commands. Reusing a session name resumes the same live session.
Instructions
Create or reconnect to an interactive PTY session on a devbox.
Reusing the same session_name reconnects to the same logical PTY session
while it is still alive. The returned connect_url is the WebSocket
endpoint used by pty_send_command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | No | Initial terminal width in character cells (1..1000). | |
| rows | No | Initial terminal height in character cells (1..1000). | |
| session_name | Yes | Client-chosen PTY session name (``[A-Za-z0-9_-]``, 1..256). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||