Send text to a pane
cmux_sendTypes literal text into a terminal surface without pressing Enter; follow with an Enter key action, optionally targeting another workspace, window, or surface.
Instructions
Type literal text into a terminal surface. Does NOT press Enter — follow with cmux_send_key Enter. Pass workspace/window to target a surface in another workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "cmux_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| window | No | Window ref like "window:1". Defaults to the caller's window. | |
| surface | No | Surface ref like "surface:40". Defaults to the current pane. | |
| workspace | No | Workspace ref like "workspace:26". Defaults to the caller's workspace. |