list_segments
List a sending domain's audience segments, including the auto-created General segment, to view contact groupings.
Instructions
List a sending domain's segments (GET /segments?domain=...). Every domain includes an auto-created "General" (all contacts) segment.
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": "list_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| before | No | ||
| domain | Yes | The sending domain this resource belongs to (domain-first model), e.g. 'yourdomain.com' — one of your domains. |