Show option¶
show_option¶
show_optionShow a tmux option value.
- Returns:
Use when you need to check a tmux configuration value — buffer limits, history size, status bar settings, etc.
Side effects: None. Readonly.
Example:
{
"tool": "show_option",
"arguments": {
"option": "history-limit"
}
}
Response:
{
"option": "history-limit",
"value": "2000"
}
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
yes |
— |
The tmux option name to query. |
|
|
|
no |
— |
Option scope. One of: |
|
no |
— |
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. |
|
|
no |
|
Whether to query the global option. |
|
|
no |
— |
tmux socket name. |