create_api_token
Create a BunkerWeb API token (Biscuit) for use outside this server. Provide an API username and password, or omit both to use the server's credentials.
Instructions
Create a BunkerWeb API token (Biscuit) for use outside this server; returns only the token, a live credential to keep secret. Give username and password, or omit both to use the server's credentials. Needs an API user; lifetime is BunkerWeb's API_BISCUIT_TTL_SECONDS. Redaction may mask it.
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": "create_api_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | No | Extra JSON fields for the /auth body; a username or password in it overrides the parameters | |
| password | No | Password of that API user | |
| username | No | API user name; give it with password, or omit both to use the server's credentials |