Create API Key
create-api-keyGenerate a Resend API key to authenticate email sending. The new token is displayed only once, so capture and store it securely.
Instructions
Create a new API key in Resend. The token is only shown once upon creation, so you MUST display it to the user.
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 | API key name | |
| domainId | No | Restrict API key to send emails from a specific domain. Only applicable when permission is "sending_access". | |
| permission | No | Access level. "full_access" grants complete resource management. "sending_access" restricts to email delivery only. |