connect
Establish a session to this computer or a remote Windows PC using a 6-digit relay code; run it first so later queries and actions target that machine.
Instructions
Connect to a computer. Without arguments: this computer, directly (the driver app is started if it is not running). With code: a remote computer showing that 6-digit code, through the relay; it connects right away. Call it first: query, act, exec and resume all work on the computer it connects to, and the person at that computer sees an orb while connected. Replies with the computer's name, or why it could not connect. Connecting again replaces the current connection; act { do: "disconnect" } ends it. When reconnecting after a restart, pass waitSec to keep retrying until the driver is back.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | 6-digit code shown on the remote computer; omit to use this computer | |
| waitSec | No | How long to keep trying if the driver is not up yet; default 0 for a code, 20 for this computer |