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

send_keys

Require every configured synchronized pane to be live and outside human-owned mode, then send one validated tmux key name. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.

All C++ tools · JSON · Source

Arguments

keys required · string
One tmux key name.
paneId required · string
Stable pane ID.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"keys": {
"description": "One tmux key name.",
"maxLength": 256,
"type": "string"
},
"paneId": {
"description": "Stable pane ID.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"paneId",
"keys"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"pane_id": {
"pattern": "^%[0-9]+$",
"type": "string"
},
"target_pane_ids": {
"items": {
"pattern": "^%[0-9]+$",
"type": "string"
},
"type": "array"
}
},
"required": [
"pane_id",
"target_pane_ids"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Send keys to a tmux pane"
}
Esc

Type to search.