List email domains
list_email_domainsList a workspace's sending identities and default sender address to choose a verified, send-enabled email sender.
Instructions
List the workspace's sending identities and default sender address.
Returns ``items``, ``next_cursor`` and ``default_from``.
Only identities with ``verification_status="verified"`` can send.
For ``kind="custom"``, ``domain`` is a domain supporting any local part.
For ``kind="hail_mail"``, it is already a complete email address.
One verified custom domain takes priority over the Hail mail address.
With several verified custom domains, ``default_from`` is null and email sending requires an explicit sender.
A custom domain with ``sends_enabled`` false cannot send: it is skipped for picks and refuses an explicit ``from_``.
Toggle it with PATCH ``/v1/email-domains/{id}`` (custom domains only).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_email_domains"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many items one page holds. ``next_cursor`` in the response points to the next page. Omitted: the API returns 50. | |
| cursor | No | Pagination cursor: the ``next_cursor`` from the previous page. Omitted: the first page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||