# get_tmux_variables

Source: https://libtmux.org/en/java/latest/mcp/tools/get_tmux_variables/

> Reads a capped list of validated tmux variable names, not free-form formats. Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Reads a capped list of validated tmux variable names, not free-form formats. Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration.

[All Java tools](https://libtmux.org/en/java/latest/mcp/tools/) · [JSON](https://libtmux.org/en/java/latest/mcp/tools/get_tmux_variables.json) · [Source](https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-mcp/src/main/java/io/github/libtmux/mcp/InspectTools.java#L272)

## Arguments

* `names` required · array | string

  One to thirty-two variable names matching \[A-Za-z]\[A-Za-z0-9\_]\*. One value may be sent on its own, without a list.

* `pane` optional · string

  An optional pane context.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "names": {
      "description": "One to thirty-two variable names matching [A-Za-z][A-Za-z0-9_]*. One value may be sent on its own, without a list.",
      "items": {
        "maxLength": 128,
        "type": "string"
      },
      "maxItems": 32,
      "type": [
        "array",
        "string"
      ]
    },
    "pane": {
      "description": "An optional pane context.",
      "type": "string"
    }
  },
  "required": [
    "names"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "values": {
      "type": "object"
    }
  },
  "required": [
    "values"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Get tmux variables"
}
```
