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

Sends up to sixty-four ordered pane-input operations, resolving and guarding the configured effective cohort separately for each ordered operation. A later policy or dispatch failure retains observed membership. 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

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": {
"onError": {
"description": "stop or continue; defaults to stop.",
"type": "string"
},
"operations": {
"description": "Objects with pane_id, keys and optional literal and enter fields.",
"items": {
"type": "object"
},
"maxItems": 64,
"type": "array"
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"completed": {
"type": "integer"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"error": {
"type": "string"
},
"error_code": {
"type": "string"
},
"index": {
"type": "integer"
},
"pane_id": {
"type": "string"
},
"resolved_pane_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"retryable": {
"type": "boolean"
},
"success": {
"type": "boolean"
}
},
"required": [
"index",
"pane_id",
"resolved_pane_ids",
"success"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"completed"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference