send_text
Send literal text to a managed Claude Code session and optionally press Enter to submit. For multi-line prompts, use submit_prompt to prevent early submission.
Instructions
Send literal text to the managed native Claude session. Use submit=true to press Enter after sending. For multi-line prompts use submit_prompt; newlines sent here may submit early. This can affect a live Claude session.
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": "send_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| submit | No | ||
| tmuxSession | No | Deprecated alias for managedSession. | |
| managedSession | No | rail-connector-managed |