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.

show_option

Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Read one exact tmux option.

All Swift tools · JSON · Source

Arguments

name required · string
Caller-controlled name.
scope optional · string
Caller-controlled scope.
target optional · string
Caller-controlled target.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"name": {
"description": "Caller-controlled name.",
"type": "string"
},
"scope": {
"description": "Caller-controlled scope.",
"enum": [
"server",
"global_session",
"global_window",
"session",
"window",
"pane"
],
"type": "string"
},
"target": {
"description": "Caller-controlled target.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"options": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"options"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Show option"
}
Esc

Type to search.