Provision agent token
token.provisionObtain a 12-hour ngsrv agent token for tunnel commands. Uses NGSRV_API_TOKEN when available; otherwise starts a free device trial. Returns token_prefix and expiry.
Instructions
Obtain a 12-hour ngsrv agent token for tunnel commands. Uses NGSRV_API_TOKEN when set; otherwise starts a free device trial (no signup). Returns token_prefix and expiry — not the full secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | When true, request a new trial token even if NGSRV_API_TOKEN is already set. |