send
Deliver raw input to a running session's stdin, enabling interactive control of REPLs, shells, and TUI applications. Automate subprocess inputs by feeding commands or data directly.
Instructions
Send raw input to a session's stdin.
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": {
"session_id": "<session_id>",
"data": "<data>"
},
"name": "send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| session_id | Yes | ||
| append_newline | No | Defaults true. |