Resize a terminal session
terminal_resizeResize the tmux window or PTY for a terminal session to set correct columns and rows before launching TUI programs.
Instructions
Resize the tmux window/PTY used by a terminal session. Useful before launching TUI programs.
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": {
"session": "<session>",
"cols": "<cols>",
"rows": "<rows>"
},
"name": "terminal_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | Width in columns. | |
| rows | Yes | Height in rows. | |
| session | Yes | Session name. |