# find_pane_by_position

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

> Inspect tmux metadata; accepts no client-supplied executable input. Find the pane sitting at an index within a window. Answers nothing rather than failing when no pane is at that position.

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. Find the pane sitting at an index within a window. Answers nothing rather than failing when no pane is at that position.

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

## Arguments

* `position` required · integer

  The zero-based pane index.

* `windowId` required · string

  The window id.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "position": {
      "description": "The zero-based pane index.",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "type": "integer"
    },
    "windowId": {
      "description": "The window id.",
      "type": "string"
    }
  },
  "required": [
    "windowId",
    "position"
  ],
  "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": "Find pane by position"
}
```
