terminal_resize
Set a pseudo-terminal session's width and height to correct text wrapping and support full-screen programs. Requires session_id, cols, and rows.
Instructions
Resize the pseudo-terminal (affects wrapping and full-screen programs).
Args: session_id: Session returned by terminal_start. cols: New width, 2..1000. rows: New height, 2..500.
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_id": "<session_id>",
"cols": "<cols>",
"rows": "<rows>"
},
"name": "terminal_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| rows | Yes | ||
| session_id | Yes |