# send_keys

Source: https://libtmux.org/en/java/latest/mcp/tools/send_keys/

> Sends input to the target's configured effective synchronized cohort without waiting for output. Every configured member must be live, nonmodal, and neither caller nor attended. Reports configured pane ids observed before dispatch, not delivery receipts. wait_for_text discounts recognized input; wait for the prompt before typing into a cold shell. Send input to a pane's program; a shell that receives it runs it with your user's permissions.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Sends input to the target’s configured effective synchronized cohort without waiting for output. Every configured member must be live, nonmodal, and neither caller nor attended. Reports configured pane ids observed before dispatch, not delivery receipts. [wait\_for\_text](https://libtmux.org/en/java/latest/mcp/tools/wait_for_text/) discounts recognized input; wait for the prompt before typing into a cold shell. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.

[All Java tools](../) · [JSON](../send_keys.json) · [Source](https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux-mcp/src/main/java/io/github/libtmux/mcp/Catalog.java#L812)

## Arguments

* `enter` optional · boolean

  Press Enter afterward, as a real keypress. Unlike a key named "Enter" sent under literal:true, which types the four letters, this always submits. Defaults to false.

  Default: `false`.

* `keys` optional · array | string

  The key names or literal strings to send. One value may be sent on its own, without a list.

* `literal` optional · boolean

  Send strings literally instead of as key names. Defaults to false.

  Default: `false`.

* `pane_id` required · string

  The pane to act on, such as %1. Every listing tool returns these.

## Schemas

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