MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

resize_window

Change tmux state; no client-supplied executable input. Sets a window’s width, height, or both.

All Go tools · JSON · Source

Arguments

height optional · integer
height in terminal cells; omit to retain it
width optional · integer
width in terminal cells; omit to retain it
window_id required · string
the window id, such as @1

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"height": {
"description": "height in terminal cells; omit to retain it",
"type": "integer"
},
"width": {
"description": "width in terminal cells; omit to retain it",
"type": "integer"
},
"window_id": {
"description": "the window id, such as @1",
"type": "string"
}
},
"required": [
"window_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"height": {
"type": "integer"
},
"width": {
"type": "integer"
},
"windowId": {
"type": "string"
}
},
"required": [
"windowId",
"width",
"height"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Resize a window"
}
Esc

Type to search.