Create API key
create_api_keyCreate an API key and return its secret ONCE. A key can grant only scopes this key has. Optionally restrict it to specific websites. For the Chrome extension, create a key named 'Chrome extension' with scopes read + notify. Treat the secret as a credential: hand it only to what the user intends to use it.
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>",
"scopes": "<scopes>"
},
"name": "create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scopes | Yes | read, notify, manage and/or admin. | |
| websites | No | Restrict the key to these websites (ids or domains). Omit for all current and future websites. |