terminal_write
Writes exact UTF-8 text to a running process session; optionally closes stdin to signal end of input.
Instructions
Write exact UTF-8 text to the running process; append newline yourself if needed.
Optionally close stdin after writing. accepted_bytes means transport acceptance, not application acknowledgement. Never retry blindly after INPUT_BACKPRESSURE.
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>",
"text": "<text>"
},
"name": "terminal_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| session_id | Yes | ||
| close_stdin | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||