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

send_keys_batch

send_keys_batch( onError?: "continue" | "stop", operations: Array<object>, )
tool [source]

Preflight each row’s configured synchronized pane cohort independently, requiring every pane to be live and outside human-owned mode before its text or key and optional Enter. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.

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

Arguments#

No other arguments are accepted.

Result#

Returns object

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Send a key sequence to a tmux pane"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"onError": {
"description": "Stop after the first failed operation or continue.",
"enum": [
"continue",
"stop"
],
"type": "string"
},
"operations": {
"description": "One to sixty-four ordered pane-input operations.",
"items": {
"additionalProperties": false,
"properties": {
"enter": {
"type": "boolean"
},
"keys": {
"maxLength": 4096,
"type": "string"
},
"literal": {
"type": "boolean"
},
"paneId": {
"maxLength": 512,
"type": "string"
}
},
"required": [
"paneId",
"keys"
],
"type": "object"
},
"maxItems": 64,
"minItems": 1,
"type": "array"
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference