MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

search_panes

search_panes( pattern: string, )
tool [source]

Search captured lines using a length-limited expression. Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted.

MCP request method
tools/call Send search_panes as the tool name, with the arguments below.

Arguments#

No other arguments are accepted.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Search tmux panes"

Protocol data#

Use the complete advertised contract for validation and client integration.

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"
}
Esc

Type to search.

Reference previewOpen reference