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

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Send an ordered bounded batch with a fresh check for every row.

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 batch"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"onError": {
"description": "Caller-controlled onError.",
"enum": [
"stop",
"continue"
],
"type": "string"
},
"operations": {
"description": "Caller-controlled operations.",
"items": {
"additionalProperties": false,
"properties": {
"enter": {
"type": "boolean"
},
"force": {
"type": "boolean"
},
"keys": {
"items": {
"type": "string"
},
"type": "array"
},
"literal": {
"type": "boolean"
},
"paneId": {
"type": "string"
}
},
"required": [
"paneId",
"keys"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"completed": {
"type": "integer"
},
"failures": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"type": "integer"
},
"reason": {
"type": "string"
}
},
"required": [
"index",
"reason"
],
"type": "object"
},
"type": "array"
},
"targets": {
"items": {
"additionalProperties": false,
"properties": {
"index": {
"type": "integer"
},
"resolvedPaneIds": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"index",
"resolvedPaneIds"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"completed",
"failures",
"targets"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference