terminal
terminalRun shell commands in fresh or reusable interactive PTY sessions; read or wait for output, send input, interrupt, resize, and manage session lifecycle.
Instructions
exec runs a command directly in a fresh noninteractive shell; cwd and shell are optional. Long commands return terminalId for read/wait/interrupt. create/run provides a reusable interactive PTY. maxOutputChars budgets each response; head pages with cursor, tail reports skipped text. Results are compact by default; detail includes terminal metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||