create_client
Generates a client connection token and a 15-minute invitation to connect one or multiple devices to Agenterm; set multi_device for reusable multi-device access.
Instructions
Create a client connection token and a 15-minute invitation. Set multi_device=true for multiple simultaneous devices and a reusable invitation; otherwise the invitation is single-use and only one device may connect. First show display_text including both platform commands in a progress message, then follow next_action: call list_clients with client_token and wait_ms=20000 repeatedly until a device connects, the invitation expires, or the user cancels. Do not end the turn after showing the invitation or after an empty result. Immediately notify the user when a device connects. Use client_id to target devices for multi-device tokens. Session tools use session_id after starting a session. Treat tokens and commands as credentials and share privately. Saying you are waiting is insufficient: the same response must actually call list_clients; invitation creation alone does not complete this task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| multi_device | No | True permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expires_at | Yes | Invitation expiry deadline as a UTC RFC 3339 timestamp. | |
| invitation | Yes | Private invitation credential for target-client authorization; expires at expires_at. | |
| next_action | Yes | Next step to perform. Invitation creation returns the exact tool call and deadline; other tools return human-readable guidance. | |
| client_token | Yes | Private credential for this target group. Pass as client_token with management access (including stdio and no-password mode) or as the MCP bearer token for device-scoped access. | |
| display_text | Yes | User-facing invitation text including credentials and both platform commands. Display before waiting for the device to connect. | |
| multi_device | Yes | True permits multiple simultaneous devices and reuses the invitation until expiry. False allows one device and a single-use invitation. | |
| macos_linux_command | Yes | One-command macOS/Linux installer containing private invitation access. Show to the target user privately. | |
| windows_powershell_command | Yes | One-command Windows installer containing private invitation access. Show to the target user privately. |