Create User API Key
create_user_api_keyCreate a new API key for a user, returning metadata without exposing the key secret.
Instructions
Create an API key for a user. Returns metadata only — the key secret is never surfaced and cannot be retrieved via MCP.
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": {
"user_id": "<user_id>",
"name": "<name>"
},
"name": "create_user_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| user_id | Yes | ||
| expires_at | No | ||
| request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||