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

get_server_info

TypeScript

Inspect tmux metadata; accepts no client-supplied executable input. The tmux server this process drives: its socket, version, daemon pid, and totals. Check the version before using a feature that needs a recent tmux.

All TypeScript 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
}
Output schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"panes": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"pid": {
"type": [
"string",
"null"
]
},
"sessions": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"socketPath": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string"
},
"windows": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"panes",
"pid",
"sessions",
"socketPath",
"version",
"windows"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false
}
Esc

Type to search.