create_api_key
Create a new API key for sending emails via Resend. Optionally restrict permissions to sending-only and limit to a single domain. Store the returned key securely, as it is shown only once.
Instructions
Create a new Resend API key. The full key value is returned ONLY once — store it securely. Optionally scope it to sending-only and to a single domain.
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 | A label for the key, e.g. 'production' | |
| permission | No | "full_access" (default) or "sending_access" (can only send emails) | |
| domain_id | No | Restrict a sending_access key to a single domain ID |