terminal_connect
Connect to an invited device terminal by host URL or connectionRef, wait for one-time human approval, then observe activity, take screenshots, or resume a retained approval without a new invitation.
Instructions
Join an invited device Terminal. Each invited host is a separate connection named by its connectionRef (the invitation host); connecting another host never replaces or disconnects one already connected. To resume a retained approval, pass that host URL with resume:true; no new invitation is needed. Wait for the human to approve once. Approval grants terminal observation and on-demand screenshots; Apps invitations grant AI editing on approval; ordinary Terminal invitations require the human to grant input control.
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": {
"url": "<url>"
},
"name": "terminal_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| resume | No |