{
  "name": "find_pane_by_position",
  "wireName": "find_pane_by_position",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 580
  },
  "description": "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.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "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"
  },
  "outputSchema": {
    "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"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Find pane by position"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "name": "find_pane_by_position",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
