session_resize
Adjust terminal dimensions for an active session by sending SIGWINCH to update rows and columns, ensuring proper layout for running processes.
Instructions
Resize the terminal window of an active session. Sends SIGWINCH to the process.
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>",
"rows": "<rows>",
"cols": "<cols>"
},
"name": "session_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | New terminal width in columns | |
| rows | Yes | New terminal height in rows | |
| session_id | Yes | Session ID returned by session_create |