Forward an address at a domain
add_email_forwardingForwards email sent to one address at a site's domain (or every address, with *) to an inbox the person already reads, as the Add button in the domain's settings does. Only owners and admins. A new inbox gets an email from Cloudflare (the service that carries the mail) with a link to confirm it, and nothing reaches it until someone there chooses Verify email address; the answer names that inbox (confirmationEmailSentTo). Tell the person who will get that email.
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": {
"project_id": "<project_id>",
"domain": "<domain>",
"mailbox": "<mailbox>",
"destination": "<destination>",
"reason": "<reason>"
},
"name": "add_email_forwarding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain, as list_email_forwarding lists it, such as acme.com. | |
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| mailbox | Yes | The address to forward: the part before the @ (info for info@acme.com), or * for every address no other line names. | |
| project_id | Yes | The site (list_projects gives ids). | |
| destination | Yes | The inbox the mail goes to, outside the domain, such as you@gmail.com. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |