# get_pane_info

Source: https://libtmux.org/en/csharp/latest/mcp/tools/get_pane_info/

> Inspect tmux metadata; accepts no client-supplied executable input. Read one pane's size, title, running command, working directory, process ID, history size and limit, and whether it is active, dead, zoomed, in a mode or the pane this server runs in. This is metadata only; to read what the pane shows, use capture_pane or snapshot_pane.

MCP is in development

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

Inspect tmux metadata; accepts no client-supplied executable input. Read one pane’s size, title, running command, working directory, process ID, history size and limit, and whether it is active, dead, zoomed, in a mode or the pane this server runs in. This is metadata only; to read what the pane shows, use [capture_pane](https://libtmux.org/en/csharp/latest/mcp/tools/capture_pane/) or [snapshot_pane](https://libtmux.org/en/csharp/latest/mcp/tools/snapshot_pane/).

[All C# tools](https://libtmux.org/en/csharp/latest/mcp/tools/) · [JSON](https://libtmux.org/en/csharp/latest/mcp/tools/get_pane_info.json) · [Source](https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Mcp/Policy/CapabilityModel.cs#L575)

## Arguments

* `paneId` required · string

  A pane id.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "paneId": {
      "description": "A pane id.",
      "type": "string"
    }
  },
  "required": [
    "paneId"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "properties": {
    "active": {
      "type": "boolean"
    },
    "currentCommand": {
      "type": [
        "string",
        "null"
      ]
    },
    "currentPath": {
      "type": [
        "string",
        "null"
      ]
    },
    "dead": {
      "type": "boolean"
    },
    "height": {
      "type": "integer"
    },
    "historyLimit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "historySize": {
      "type": [
        "integer",
        "null"
      ]
    },
    "index": {
      "type": "integer"
    },
    "inMode": {
      "type": "boolean"
    },
    "isCaller": {
      "type": "boolean"
    },
    "paneId": {
      "type": "string"
    },
    "pid": {
      "type": [
        "integer",
        "null"
      ]
    },
    "sessionId": {
      "type": "string"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "width": {
      "type": "integer"
    },
    "windowId": {
      "type": "string"
    },
    "zoomed": {
      "type": "boolean"
    }
  },
  "required": [
    "paneId",
    "windowId",
    "sessionId",
    "index",
    "width",
    "height",
    "title",
    "active",
    "dead",
    "zoomed",
    "inMode",
    "currentCommand",
    "currentPath",
    "pid",
    "historySize",
    "historyLimit",
    "isCaller"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Get pane info"
}
```
