repl_send
Sends input to an active REPL session and waits for the next prompt, letting MCP clients drive interactive command-line programs step by step.
Instructions
Send input to a REPL session and wait for the next prompt
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": {
"sessionId": "<sessionId>",
"input": "<input>"
},
"name": "repl_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Input to send (newline appended automatically) | |
| timeout | No | Max milliseconds to wait for prompt (default: 30000) | |
| sessionId | Yes | Session ID from repl_start |