create_inbox
Set up an email inbox by providing a local part; optionally choose a domain, display name, or webhook endpoint for incoming email notifications.
Instructions
Create a new inbox for receiving emails.
The inbox email address will be {local_part}@{domain}. If no domain_id is provided, Commune auto-assigns your inbox to an available domain — no DNS setup required.
Args: local_part: Part before @ (e.g. "support", "billing", "hello") domain_id: Domain to create under (optional, auto-resolved if omitted) name: Agent name for the inbox (optional, also used as display_name fallback) display_name: Sender display name shown in email clients (e.g. "Support Agent", "Acme Sales"). If set, outbound emails show as '"Display Name" ' in Gmail/Outlook. webhook_endpoint: URL to receive notifications on new emails (optional)
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": {
"local_part": "<local_part>"
},
"name": "create_inbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_part | Yes | ||
| domain_id | No | ||
| name | No | ||
| display_name | No | ||
| webhook_endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |