create_api_key
Generate an API key for an app to validate licenses. The key is shown once; store it as a secret in environment variables or config, never in source control.
Instructions
Create an API key (slk_…) for an app to validate licenses with. The key is shown once, here; tell the user to store it as a secret (an environment variable or config file), never in source control.
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": "create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | what the key is for, e.g. 'Paper plugin' or 'CI' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| key | Yes | the full API key, shown once | |
| name | Yes | ||
| note | Yes |