rex_send_text
Sends text to a terminal session and optionally presses Return, enabling AI assistants to submit commands or responses in Rex sessions.
Instructions
Type text into a terminal (rex send, text on stdin). enter: true presses Return afterwards.
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": "rex_send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| block | No | Block label, ID, or ID suffix | |
| enter | No | ||
| session | No | Session label or ID |