Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

send_keys_batch

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.

All Java tools · JSON · Source

Arguments

onError optional · string
stop or continue; defaults to stop.
operations required · array
Objects with pane_id, keys and optional literal and enter fields.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

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"
},
"index": {
"type": "integer"
},
"pane_id": {
"type": "string"
},
"resolved_pane_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"success": {
"type": "boolean"
}
},
"required": [
"index",
"pane_id",
"resolved_pane_ids",
"success"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"results",
"completed"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Send keys in a batch"
}
Esc

Type to search.