send_input
Send text to a running process's stdin to interact with REPLs and prompts. Provides a way to feed input to processes that need interactive responses.
Instructions
Send text to a running process's stdin.
Use this for interactive processes (REPLs, prompts). The text is encoded as UTF-8 and written to the process stdin pipe.
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>",
"stdin": "<stdin>"
},
"name": "send_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| stdin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |