MCPpre-alphaAPI Reference

Choose documentation 3

stable

Current version

stable
English

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

libtmux_mcp.models.SendKeysOperation

class libtmux_mcp.models.SendKeysOperation
Bases:
  • BaseModel

One raw-input operation for batch sending.

Description#

Used by send_keys_batch .

Members

model_config = ConfigDict(extra="forbid")
keys : str = Field(description="Keys or text to send.")
pane_id : str | None = Field( default=None, description="Pane ID (e.g. '%1').", )
session_name : str | None = Field( default=None, description="Session name for pane resolution.", )
session_id : str | None = Field( default=None, description="Session ID (e.g. '$1') for pane resolution.", )
window_id : str | None = Field( default=None, description="Window ID for pane resolution.", )
enter : bool = Field( default=True, description="Whether to press Enter after sending keys.", )
literal : bool = Field( default=False, description="Whether to send keys literally with no tmux key interpretation.", )
suppress_history : bool = Field( default=False, description=( "Suppress shell history by prepending a space where the shell " "ignores space-prefixed commands." ), )
Esc

Type to search.

Reference preview Open reference