pair
Pair a discovered Android device running FreeCode Agent. Provide an optional device-generated code, or use the auto-generated code entered on the phone to confirm.
Instructions
Initiate pairing with a discovered Android device. The device must have the FreeCode Agent app installed and running. If a pairing code was generated on the device, pass it via the "code" parameter. Otherwise a code is generated automatically — the user enters this code on their phone to confirm pairing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Optional pairing code generated on the device. If omitted, a code is generated automatically. | |
| device | Yes | Device ID or name to pair with from the discovered devices never use the user provided code to look up for device. |