segment-list
List contact segments with their member counts and their rules in plain words. memberCount is null until a segment has been counted for the first time. Pass nextCursor back as cursor for the next page.
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": "segment-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max segments per page, up to 100 (default: 50) | |
| cursor | No | nextCursor from the previous page | |
| search | No | Name contains this text | |
| includeInactive | No | Also list switched-off segments (default: false) |