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.

get_window_info

Inspect tmux metadata; accepts no client-supplied executable input. Return metadata and placements for one window.

All Swift tools · JSON · Source

Arguments

windowId required · string
Caller-controlled windowId.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"windowId": {
"description": "Caller-controlled windowId.",
"type": "string"
}
},
"required": [
"windowId"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"placements": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"type": "integer"
},
"isActive": {
"type": "boolean"
},
"ref": {
"type": "string"
},
"sessionID": {
"type": "string"
},
"target": {
"type": "string"
},
"windowID": {
"type": "string"
}
},
"required": [
"index",
"isActive",
"ref",
"sessionID",
"target",
"windowID"
],
"type": "object"
},
"type": "array"
},
"window": {
"additionalProperties": false,
"properties": {
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"paneCount": {
"type": "integer"
},
"ref": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"height",
"id",
"name",
"paneCount",
"ref",
"width"
],
"type": "object"
}
},
"required": [
"placements",
"window"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Get window info"
}
Esc

Type to search.