terminal_resize
Resize an active terminal session to specified columns and rows, then inspect the updated screen snapshot to confirm the new dimensions.
Instructions
Resize the child terminal and emulated screen, then observe the result. The child receives its terminal-size notification. A strict timeout retains the applied dimensions in latestSnapshot; it does not undo the resize.
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": "terminal_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| rows | Yes | ||
| settleMs | No | ||
| sessionId | Yes | ||
| settleTimeoutMs | No |