api_keys_create
Create a new API key with a friendly name and optional scopes and expiry date. Store the returned key immediately as it will not be shown again.
Instructions
Create a new API key. Full key is returned only once. Store it immediately.
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": {
"name": "<name>"
},
"name": "api_keys_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Friendly name for the key (e.g. "CI Bot"). | |
| scopes | No | Permission scopes. Defaults to people:search. | |
| expiresAt | No | ISO-8601 expiry date (optional). |