Create API key
create_api_keyAsk the user which permissions the key needs; never choose for them. Creates a key and returns the secret once. Omit tiers for all. mode "test" mints a upapi_test_ key that answers every operation with a sample, never spends units and cannot use account tools.
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 |
|---|---|---|---|
| mode | No | live (default) or test | |
| name | Yes | Key name | |
| tiers | No | ||
| organizationId | No | Approved workspace id only. |