Send input to a process
interact_with_processType text into a process started with start_process (add a newline to press Enter) and return what it prints next.
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": "interact_with_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | The pid returned by start_process. | |
| input | Yes | ||
| device | No | Device name. Optional when the account has only one online device. | |
| wait_ms | No | Default 2000, max 30000. |