{
  "name": "search_panes",
  "wireName": "search_panes",
  "source": {
    "repo": "libtmux/libtmux-go",
    "revision": "52968a3181c1c9e6d1b26c565d4b170968ae61c0",
    "extractedRevision": "52968a3181c1c9e6d1b26c565d4b170968ae61c0",
    "file": "mcp/manifest_catalog.go",
    "line": 218
  },
  "description": "Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Searches the visible output of every pane.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "max_lines": {
        "description": "maximum matching panes to return",
        "maximum": 200,
        "type": "integer"
      },
      "max_matches_per_pane": {
        "description": "maximum matching lines per pane",
        "maximum": 200,
        "type": "integer"
      },
      "pattern": {
        "description": "bounded text or regular expression to search for",
        "maxLength": 4096,
        "type": "string"
      },
      "regex": {
        "description": "treat pattern as a regular expression",
        "type": "boolean"
      }
    },
    "required": [
      "pattern"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "bytesInspected": {
        "type": "integer"
      },
      "linesInspected": {
        "type": "integer"
      },
      "morePanes": {
        "type": "integer"
      },
      "panes": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "matches": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "row": {
                    "type": "integer"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "row",
                  "text"
                ],
                "type": "object"
              },
              "type": [
                "array"
              ]
            },
            "moreMatches": {
              "type": "integer"
            },
            "pane": {
              "additionalProperties": false,
              "properties": {
                "active": {
                  "type": "boolean"
                },
                "currentCommand": {
                  "type": "string"
                },
                "geometry": {
                  "additionalProperties": false,
                  "properties": {
                    "height": {
                      "type": "integer"
                    },
                    "left": {
                      "type": "integer"
                    },
                    "top": {
                      "type": "integer"
                    },
                    "width": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "left",
                    "top",
                    "width",
                    "height"
                  ],
                  "type": "object"
                },
                "id": {
                  "type": "string"
                },
                "index": {
                  "type": "integer"
                },
                "isCaller": {
                  "type": [
                    "null",
                    "boolean"
                  ]
                },
                "session": {
                  "type": "string"
                },
                "window": {
                  "type": "string"
                },
                "windowId": {
                  "type": "string"
                }
              },
              "required": [
                "id",
                "session",
                "window",
                "windowId",
                "index",
                "currentCommand",
                "active",
                "geometry",
                "isCaller"
              ],
              "type": "object"
            }
          },
          "required": [
            "pane",
            "matches"
          ],
          "type": "object"
        },
        "type": [
          "array"
        ]
      },
      "panesInspected": {
        "type": "integer"
      },
      "workLimited": {
        "type": "boolean"
      },
      "workTimeLimitSeconds": {
        "type": "number"
      }
    },
    "required": [
      "panes",
      "panesInspected",
      "linesInspected",
      "bytesInspected",
      "workLimited",
      "workTimeLimitSeconds"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "openWorldHint": true,
    "title": "Search panes"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Searches the visible output of every pane.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "max_lines": {
            "description": "maximum matching panes to return",
            "maximum": 200,
            "type": "integer"
          },
          "max_matches_per_pane": {
            "description": "maximum matching lines per pane",
            "maximum": 200,
            "type": "integer"
          },
          "pattern": {
            "description": "bounded text or regular expression to search for",
            "maxLength": 4096,
            "type": "string"
          },
          "regex": {
            "description": "treat pattern as a regular expression",
            "type": "boolean"
          }
        },
        "required": [
          "pattern"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "search_panes",
      "nestedAuthority": null,
      "outputClasses": [
        "terminal-content",
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "bytesInspected": {
            "type": "integer"
          },
          "linesInspected": {
            "type": "integer"
          },
          "morePanes": {
            "type": "integer"
          },
          "panes": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "matches": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "row": {
                        "type": "integer"
                      },
                      "text": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "row",
                      "text"
                    ],
                    "type": "object"
                  },
                  "type": [
                    "array"
                  ]
                },
                "moreMatches": {
                  "type": "integer"
                },
                "pane": {
                  "additionalProperties": false,
                  "properties": {
                    "active": {
                      "type": "boolean"
                    },
                    "currentCommand": {
                      "type": "string"
                    },
                    "geometry": {
                      "additionalProperties": false,
                      "properties": {
                        "height": {
                          "type": "integer"
                        },
                        "left": {
                          "type": "integer"
                        },
                        "top": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "left",
                        "top",
                        "width",
                        "height"
                      ],
                      "type": "object"
                    },
                    "id": {
                      "type": "string"
                    },
                    "index": {
                      "type": "integer"
                    },
                    "isCaller": {
                      "type": [
                        "null",
                        "boolean"
                      ]
                    },
                    "session": {
                      "type": "string"
                    },
                    "window": {
                      "type": "string"
                    },
                    "windowId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "session",
                    "window",
                    "windowId",
                    "index",
                    "currentCommand",
                    "active",
                    "geometry",
                    "isCaller"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "pane",
                "matches"
              ],
              "type": "object"
            },
            "type": [
              "array"
            ]
          },
          "panesInspected": {
            "type": "integer"
          },
          "workLimited": {
            "type": "boolean"
          },
          "workTimeLimitSeconds": {
            "type": "number"
          }
        },
        "required": [
          "panes",
          "panesInspected",
          "linesInspected",
          "bytesInspected",
          "workLimited",
          "workTimeLimitSeconds"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "Search panes",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
