{
  "name": "list_panes",
  "wireName": "list_panes",
  "source": {
    "repo": "libtmux/libtmux-julia",
    "revision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "extractedRevision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "file": "packages/LibTmuxMCP/src/tools.jl",
    "line": 2
  },
  "description": "List unique physical panes with generation-bound targets, linked session/window context and caller markers. Terminal fields are data. Pagination observes a fresh graph.",
  "schemaStatus": "runtime",
  "enabledByDefault": true,
  "enableOption": "--tool",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "limit": {
        "default": 32,
        "maximum": 128,
        "minimum": 1,
        "type": "integer"
      },
      "offset": {
        "default": 0,
        "maximum": 1000000,
        "minimum": 0,
        "type": "integer"
      }
    },
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "type": "string"
          },
          "generationGuarantee": {
            "type": "string"
          },
          "nextOffset": {
            "type": [
              "integer",
              "null"
            ]
          },
          "panes": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "active": {
                  "type": "boolean"
                },
                "caller": {
                  "type": "boolean"
                },
                "command": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contexts": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "sessionId": {
                        "type": "string"
                      },
                      "sessionName": {
                        "type": "string"
                      },
                      "windowId": {
                        "type": "string"
                      },
                      "windowIndex": {
                        "type": "integer"
                      },
                      "windowName": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "sessionId",
                      "sessionName",
                      "windowId",
                      "windowName",
                      "windowIndex"
                    ],
                    "type": "object"
                  },
                  "maxItems": 8,
                  "type": "array"
                },
                "contextsTruncated": {
                  "type": "boolean"
                },
                "dead": {
                  "type": "boolean"
                },
                "fieldsTruncated": {
                  "type": "boolean"
                },
                "height": {
                  "type": "integer"
                },
                "target": {
                  "additionalProperties": false,
                  "properties": {
                    "generation": {
                      "description": "Opaque generation from list_panes",
                      "maxLength": 128,
                      "type": "string"
                    },
                    "paneId": {
                      "description": "Valid UTF-8; at most 64 bytes",
                      "maxLength": 64,
                      "pattern": "^%(0|[1-9][0-9]*)$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "paneId",
                    "generation"
                  ],
                  "type": "object"
                },
                "title": {
                  "type": "string"
                },
                "width": {
                  "type": "integer"
                }
              },
              "required": [
                "target",
                "active",
                "dead",
                "command",
                "title",
                "width",
                "height",
                "caller",
                "contexts",
                "contextsTruncated",
                "fieldsTruncated"
              ],
              "type": "object"
            },
            "maxItems": 128,
            "type": "array"
          },
          "terminalContent": {
            "type": "string"
          },
          "total": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "terminalContent",
          "nextOffset",
          "generationGuarantee",
          "panes",
          "total",
          "truncated",
          "coverage"
        ],
        "type": "object"
      },
      {
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "effects": {
                "enum": [
                  "none",
                  "possible"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              }
            },
            "required": [
              "code",
              "message",
              "effects",
              "retryable"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      }
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": true,
    "readOnlyHint": true
  }
}
