get_tmux_variables
-
Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Expand named tmux format variables for a pane, such as session_name or window_width. Use it for fields nothing else answers; get_pane_info already returns the common ones, and show_option reads configuration rather than live state.
- MCP request method
tools/callSendget_tmux_variablesas the tool name, with the arguments below.- Wraps
LibTmux.Pane.DisplayMessageAsyncThe library call this tool makes:src/LibTmux.Mcp/Connection/TmuxTargets.cs:424.
Arguments
-
Variable names such as session_name, without #{…}. Between 1 and 64 names, each at most 64 letters, digits and underscores.
-
paneId? =null(string | null)A pane id used as the lookup context. Omit for this server’s own pane, or else the one the first session shows.
No other arguments are accepted.
Result
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Get tmux variables"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
Every C# tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"names": {"description": "Variable names such as session_name, without #{...}. Between 1 and 64 names, each at most 64 letters, digits and underscores.","items": {"type": "string"},"type": "array"},"paneId": {"default": null,"description": "A pane id used as the lookup context. Omit for this server's own pane, or else the one the first session shows.","type": ["string","null"]}},"required": ["names"],"type": "object"}Output schema
{"additionalProperties": {"type": "string"},"type": "object"}