# send_keys

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

> Send input to a pane's program; a shell that receives it runs it with your user's permissions. Send keys after checking the effective synchronized-pane cohort.

MCP is in development

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

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Send keys after checking the effective synchronized-pane cohort.

[All Swift tools](../) · [JSON](../send_keys.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmuxMCP/ToolOperation.swift#L42)

## Arguments

* `enter` optional · boolean

  Caller-controlled enter.

* `force` optional · boolean

  Caller-controlled force.

* `keys` required · array

  Caller-controlled keys.

* `literal` optional · boolean

  Caller-controlled literal.

* `paneId` required · string

  Caller-controlled paneId.

## Schemas

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