# find_pane_by_position

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

> Inspect tmux metadata; accepts no client-supplied executable input. Find a pane occupying a named window corner.

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 a pane occupying a named window corner.

[All Swift tools](https://libtmux.org/en/swift/latest/mcp/tools/) · [JSON](https://libtmux.org/en/swift/latest/mcp/tools/find_pane_by_position.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/63551afeae8ea3d272e5262208b87735888daf5f/Sources/LibTmuxMCP/ToolOperation.swift#L6)

## Arguments

* `corner` required · string

  Caller-controlled corner.

* `windowId` required · string

  Caller-controlled windowId.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "corner": {
      "description": "Caller-controlled corner.",
      "enum": [
        "top-left",
        "top-right",
        "bottom-left",
        "bottom-right"
      ],
      "type": "string"
    },
    "windowId": {
      "description": "Caller-controlled windowId.",
      "type": "string"
    }
  },
  "required": [
    "corner",
    "windowId"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "pane": {
      "additionalProperties": false,
      "properties": {
        "currentCommand": {
          "type": "string"
        },
        "currentPath": {
          "type": "string"
        },
        "height": {
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "index": {
          "type": "integer"
        },
        "isActive": {
          "type": "boolean"
        },
        "isAtBottom": {
          "type": "boolean"
        },
        "isAtLeft": {
          "type": "boolean"
        },
        "isAtRight": {
          "type": "boolean"
        },
        "isAtTop": {
          "type": "boolean"
        },
        "isDead": {
          "type": "boolean"
        },
        "isSynchronized": {
          "type": "boolean"
        },
        "modeCount": {
          "type": "integer"
        },
        "ref": {
          "type": "string"
        },
        "width": {
          "type": "integer"
        },
        "windowID": {
          "type": "string"
        }
      },
      "required": [
        "currentCommand",
        "currentPath",
        "height",
        "id",
        "index",
        "isActive",
        "isAtBottom",
        "isAtLeft",
        "isAtRight",
        "isAtTop",
        "isDead",
        "isSynchronized",
        "modeCount",
        "ref",
        "width",
        "windowID"
      ],
      "type": "object"
    }
  },
  "required": [
    "pane"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Find pane by position"
}
```
