Mint a MagicSword agent enrollment token
mint_enrollment_tokenMints a one-time enrollment token to register a new MagicSword agent against the organization owning the API key. Use the token within its TTL (default 1 hour, max 24 hours).
Instructions
Mints a one-time enrollment token used to register a new MagicSword agent against the org owning the API key. The returned token is bearer-equivalent for enrollment — surface it to the human and instruct them to use it within the TTL. Default TTL is 1 hour; min 5 minutes; max 24 hours.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_seconds | No | Time-to-live in seconds (300–86400, default 3600) |