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.

list_windows

Inspect tmux metadata; accepts no client-supplied executable input. Lists windows, optionally only those in one named session.

All Go tools · JSON · Source

Arguments

session optional · string
only windows in this session name

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "only windows in this session name",
"type": "string"
}
},
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"serverNote": {
"type": "string"
},
"skipped": {
"type": "integer"
},
"total": {
"type": "integer"
},
"windows": {
"items": {
"additionalProperties": false,
"properties": {
"active": {
"type": "boolean"
},
"id": {
"type": "string"
},
"index": {
"type": "integer"
},
"name": {
"type": "string"
},
"panes": {
"type": "integer"
},
"session": {
"type": "string"
}
},
"required": [
"id",
"session",
"name",
"index",
"panes",
"active"
],
"type": "object"
},
"type": [
"array"
]
}
},
"required": [
"windows",
"total"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "List windows"
}
Esc

Type to search.