ask
Inject a question into a live terminal session and retrieve its answer from the transcript. Works only on live sessions and interrupts current activity.
Instructions
Ask a LIVE session a question and wait for its answer. Injects the question into the target's running terminal, then reads the answer back from its transcript. Only works on sessions marked live in list_sessions. Note: this interrupts what the target is currently doing.
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": {
"to": "<to>",
"question": "<question>"
},
"name": "ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | target session id or prefix (must be live) | |
| question | Yes | the question to ask | |
| wait_seconds | No | how long to wait for an answer (default 90) |