{
  "name": "wait_for_text",
  "wireName": "wait_for_text",
  "source": {
    "repo": "libtmux/libtmux-java",
    "revision": "842228310449e879ebcaa3f910597757c9dbffd6",
    "extractedRevision": "a960145afeefb340d85ea76ea0d62c29517b1c85",
    "file": "libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java",
    "line": 367
  },
  "description": "Waits for new pane output without accepting executable input. Discounts recognized input from this server while pending and for ten seconds after submission. Output identical to that input and partially redrawn echoes are ambiguous; use run_shell_command for commands you start. Wait for the prompt before typing into a cold shell. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "cursor": {
        "description": "A cursor returned by an earlier capture.",
        "type": "string"
      },
      "max_lines": {
        "default": 200,
        "description": "Maximum observed lines to return. Defaults to 200.",
        "type": "integer"
      },
      "pane_id": {
        "description": "The pane to act on, such as %1. Every listing tool returns these.",
        "type": "string"
      },
      "patterns": {
        "description": "Text to wait for; any one ends the wait. One value may be sent on its own, without a list.",
        "items": {
          "maxLength": 4096,
          "type": "string"
        },
        "maxItems": 32,
        "type": [
          "array",
          "string"
        ]
      },
      "regex": {
        "default": false,
        "description": "Treat patterns and stops as regular expressions. Defaults to false.",
        "type": "boolean"
      },
      "stop": {
        "description": "Failure text; any one ends the wait. One value may be sent on its own, without a list.",
        "items": {
          "maxLength": 4096,
          "type": "string"
        },
        "maxItems": 32,
        "type": [
          "array",
          "string"
        ]
      },
      "timeout": {
        "default": 30,
        "description": "Seconds to wait before giving up. Defaults to 30.0.",
        "type": "number"
      }
    },
    "required": [
      "pane_id"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "cursor": {
        "type": "string"
      },
      "effective_timeout": {
        "type": "number"
      },
      "lines_dropped": {
        "type": "integer"
      },
      "matched": {
        "type": "string"
      },
      "matched_line": {
        "type": "string"
      },
      "note": {
        "type": "string"
      },
      "outcome": {
        "type": "string"
      },
      "output": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "pane_id": {
        "type": "string"
      },
      "seconds": {
        "type": "number"
      },
      "truncated": {
        "type": "boolean"
      }
    },
    "required": [
      "pane_id",
      "outcome",
      "output",
      "truncated",
      "lines_dropped",
      "cursor",
      "seconds",
      "effective_timeout"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Wait for pane text"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Waits for new pane output without accepting executable input. Discounts recognized input from this server while pending and for ten seconds after submission. Output identical to that input and partially redrawn echoes are ambiguous; use run_shell_command for commands you start. Wait for the prompt before typing into a cold shell. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "A cursor returned by an earlier capture.",
            "type": "string"
          },
          "max_lines": {
            "default": 200,
            "description": "Maximum observed lines to return. Defaults to 200.",
            "type": "integer"
          },
          "pane_id": {
            "description": "The pane to act on, such as %1. Every listing tool returns these.",
            "type": "string"
          },
          "patterns": {
            "description": "Text to wait for; any one ends the wait. One value may be sent on its own, without a list.",
            "items": {
              "maxLength": 4096,
              "type": "string"
            },
            "maxItems": 32,
            "type": [
              "array",
              "string"
            ]
          },
          "regex": {
            "default": false,
            "description": "Treat patterns and stops as regular expressions. Defaults to false.",
            "type": "boolean"
          },
          "stop": {
            "description": "Failure text; any one ends the wait. One value may be sent on its own, without a list.",
            "items": {
              "maxLength": 4096,
              "type": "string"
            },
            "maxItems": 32,
            "type": [
              "array",
              "string"
            ]
          },
          "timeout": {
            "default": 30,
            "description": "Seconds to wait before giving up. Defaults to 30.0.",
            "type": "number"
          }
        },
        "required": [
          "pane_id"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "wait_for_text",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata",
        "terminal-content"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "type": "string"
          },
          "effective_timeout": {
            "type": "number"
          },
          "lines_dropped": {
            "type": "integer"
          },
          "matched": {
            "type": "string"
          },
          "matched_line": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "outcome": {
            "type": "string"
          },
          "output": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pane_id": {
            "type": "string"
          },
          "seconds": {
            "type": "number"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "pane_id",
          "outcome",
          "output",
          "truncated",
          "lines_dropped",
          "cursor",
          "seconds",
          "effective_timeout"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "Wait for pane text",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
