process_write
Send UTF-8 text to the standard input of a live process started by start_process. Optionally close stdin after writing to signal end of input.
Instructions
Write UTF-8 text to the standard input of a live process started by start_process. Recovered processes remain inspectable after restart but their stdin cannot be reattached.
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": {
"pid": "<pid>",
"input": "<input>"
},
"name": "process_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Close standard input after writing; defaults to false. | |
| pid | Yes | Process ID returned by start_process. | |
| input | Yes | UTF-8 text to write to standard input. | |
| process_id | No | Opaque processId returned by start_process; detects stale PID references. |