Resize Terminal
resizeAdjust terminal window dimensions for TUI applications by specifying new column width and row height, sending SIGWINCH signals to update display.
Instructions
Resize the terminal dimensions of a session. The TUI app will receive a SIGWINCH signal.
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": {
"sessionId": "<sessionId>",
"cols": "<cols>",
"rows": "<rows>"
},
"name": "resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID | |
| cols | Yes | New width in columns | |
| rows | Yes | New height in rows |