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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "terminal_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| cols | No | ||
| rows | No | ||
| command | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||