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( on_error?: "stop" | "continue", operations: null | Array<object>, )
tool [source]

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Sends up to sixty-four key sequences in order, rechecking before each one which panes synchronize-panes links to its target.

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

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Send keys in a batch"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"on_error": {
"description": "stop or continue; defaults to stop",
"enum": [
"stop",
"continue"
],
"type": "string"
},
"operations": {
"description": "up to sixty-four ordered pane-input operations",
"items": {
"additionalProperties": false,
"properties": {
"enter": {
"type": "boolean"
},
"keys": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"literal": {
"type": "boolean"
},
"pane_id": {
"type": "string"
}
},
"required": [
"pane_id",
"keys"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"completed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"error": {
"type": "string"
},
"pane_id": {
"type": "string"
},
"resolved_pane_ids": {
"items": {
"type": "string"
},
"type": [
"array"
]
},
"sent": {
"type": "integer"
}
},
"required": [
"pane_id",
"resolved_pane_ids",
"sent"
],
"type": "object"
},
"type": [
"array"
]
}
},
"required": [
"results",
"completed"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference