Create terminal session
terminal_createStart a persistent shell session for interactive command execution. Use it to run commands and then interact via separate read, write, and wait operations.
Instructions
Start a persistent shell session (or run a command interactively).
Empty command spawns a login shell kept alive across calls. Use terminal_write to send input, terminal_read for incremental output, terminal_wait to block for a pattern/exit instead of polling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| cols | No | ||
| rows | No | ||
| command | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||