Search captured lines using a length-limited expression. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.
All C++ tools · JSON · Source
Arguments
patternrequired · string- Bounded regular expression.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "pattern": { "description": "Bounded regular expression.", "maxLength": 256, "type": "string" } }, "required": [ "pattern" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "matches": { "items": { "additionalProperties": false, "properties": { "line": { "type": "string" }, "pane_id": { "pattern": "^%[0-9]+$", "type": "string" } }, "required": [ "line", "pane_id" ], "type": "object" }, "type": "array" } }, "required": [ "matches" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Search tmux panes"}