create_topic
Create a subscription topic for a sending domain, choosing opt-in or opt-out as the default subscription and public or private visibility.
Instructions
Create a subscription topic on a sending domain (POST /topics, domain-first). default_subscription is 'opt_in' or 'opt_out'; visibility is 'public' or 'private'.
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": {
"domain": "<domain>",
"name": "<name>",
"default_subscription": "<default_subscription>"
},
"name": "create_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Topic name. | |
| domain | Yes | The sending domain this resource belongs to (domain-first model), e.g. 'yourdomain.com' — one of your domains. | |
| visibility | No | ||
| description | No | ||
| default_subscription | Yes |