Segments · list
segments_listList segments (named groups of contacts to target campaigns).
Scope: segments:read.
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": "segments_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Next page: the last row's `id`, while `has_more` is true. | |
| limit | No | Rows per page, 1–100 (default 20). | |
| before | No | Previous page: the first row's `id`. Not with `after`. | |
| archived | No | Pass `true` to list archived segments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| hint | No | ||
| status | No | ||
| request_id | No | ||
| retry_after_seconds | No |