term_resize
Adjust the dimensions of an active terminal session by specifying new column and row counts, ensuring the display matches your needs.
Instructions
Resize the PTY.
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": "term_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| rows | Yes | ||
| session_id | Yes | Session id from term_open |