Mint profile token
mint_tokenGenerate a new BrewPage profile token using an admin token, choose publish or admin scope and 30d/90d/1y/never expiry; the token is shown once.
Instructions
Mint a new profile token with an admin token; the new token is shown once. Scope publish (default) or admin; expiry 30d, 90d, 1y or never.
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": "mint_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label shown in the profile | |
| scope | No | publish (default) or admin (can manage tokens) | |
| expiresIn | No | Default: admin 90d, publish never | |
| ownerToken | No | Admin token of the profile. Default: env BREWPAGE_OWNER_TOKEN (local server only). |