libtmux_mcp.tools.option_tools.show_option
Python
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Show a tmux option value.
Use to check tmux configuration values such as history-limit, mouse support, or status bar settings.
- Parameters
-
-
option ( str ) – The tmux option name to query.
-
scope ( t.Literal["server", "session", "window", "pane"] | None ) – Option scope.
-
target ( str | None ) – Target identifier. For session scope: session name (e.g. 'mysession'). For window scope: window ID (e.g. '@1'). For pane scope: pane ID (e.g. '%1'). Requires scope.
-
global_ ( bool ) – Whether to query the global option.
-
- Returns
-
OptionResult Option name and its value.