# send_keys_batch

Source: https://libtmux.org/en/ts/latest/mcp/tools/send_keys_batch/

> Send input to a pane's program; a shell that receives it runs it with your user's permissions. Send an ordered batch of pane-input operations, resolving and checking each row's configured cohort immediately before input. Stop or continue on error.

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 an ordered batch of pane-input operations, resolving and checking each row’s configured cohort immediately before input. Stop or continue on error.

[All TypeScript tools](../) · [JSON](../send_keys_batch.json) · [Source](https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/mcp/src/tools/target.ts#L468)

## Arguments

* `onError` optional · string

  Whether a failed operation ends the batch. Defaults to stop.

* `operations` required · array

  The key sends to run, in order, one pane each.

## Schemas

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