resource templateMCPlatest
get_session
-
tmux://sessions/{session_name}{?socket_name}resource template¶ -
Get details of a specific tmux session.
- MCP request method
resources/readSend the resource URI shown above.- MIME type
application/json
URI parameters#
Result#
Returns resource contents for the requested URI with MIME type
application/json.str JSON object with session info and its windows (MIME:
application/json).Protocol data#
Use the complete advertised contract for validation and client integration.
Registration
{"_meta": {"fastmcp": {"tags": []}},"description": "Get details of a specific tmux session.\n\nParameters\n----------\nsession_name : str\n The session name.\nsocket_name : str, optional\n tmux socket name. Defaults to LIBTMUX_SOCKET env var.\n\nReturns\n-------\nstr\n JSON object with session info and its windows\n (MIME: ``application/json``).","mimeType": "application/json","name": "get_session","title": "Session Detail","uriTemplate": "tmux://sessions/{session_name}{?socket_name}"}