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

get_server_info

Inspect tmux metadata; accepts no client-supplied executable input. Read the tmux server’s version and how many sessions, windows and panes it holds. Use to confirm a socket is alive and which tmux is running it.

All .NET tools · JSON · Source

Arguments

This tool has no top-level named arguments. Consult its schema below.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {},
"type": "object"
}
Output schema
{
"properties": {
"callerPaneId": {
"type": [
"string",
"null"
]
},
"callerPaneSocket": {
"type": [
"string",
"null"
]
},
"paneCount": {
"type": "integer"
},
"sessionCount": {
"type": "integer"
},
"socketName": {
"type": [
"string",
"null"
]
},
"socketPath": {
"type": [
"string",
"null"
]
},
"version": {
"type": [
"string",
"null"
]
},
"windowCount": {
"type": "integer"
}
},
"required": [
"socketName",
"socketPath",
"version",
"sessionCount",
"windowCount",
"paneCount",
"callerPaneId",
"callerPaneSocket"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Get server info"
}
Esc

Type to search.