create_access_key
Create a scoped, revocable access_key bound to a role. Requires an admin owner_key. The raw key (ak_... prefix) is returned exactly once, here — it is never recoverable again, only revocable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"label": "<label>"
},
"name": "create_access_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| expiry | No | RFC3339 expiry, e.g. "2026-12-31T00:00:00Z". | |
| role_ids | No | Roles to bind this key to (combination, bundle-26). Unset/empty grants no scopes (denies everything). | |
| owner_key | No | Owner key. Must belong to an admin member. Optional. If omitted, defaults to the owner_key resolved from the connection's `Authorization: Bearer <owner_key>` header. | |
| mailbox_label | No |