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_session_info

Inspect tmux metadata; accepts no client-supplied executable input. Read one session’s name, ID, window count and whether a client is attached, without listing every session. Give the session, or a window ID to read the session that holds it.

All C# tools · JSON · Source

Arguments

session required · string
A session id or name.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "A session id or name.",
"type": "string"
}
},
"required": [
"session"
],
"type": "object"
}
Output schema
{
"properties": {
"attached": {
"type": "boolean"
},
"name": {
"type": "string"
},
"sessionId": {
"type": "string"
},
"windowCount": {
"type": [
"integer",
"null"
]
}
},
"required": [
"sessionId",
"name",
"attached",
"windowCount"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Get session info"
}
Esc

Type to search.