tmux_open_session
Start a detached tmux session to run full-screen terminal apps like vim or htop. Returns a session ID for later control.
Instructions
Start a detached tmux session running a command (useful for full-screen TUI apps like vim/htop). Returns a tmux session id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"command": "<command>"
},
"name": "tmux_open_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| env | No | ||
| args | No | ||
| width | No | PTY width (columns). Defaults to current terminal width or 120. | |
| height | No | PTY height (rows). Defaults to current terminal height or 40. | |
| command | Yes |