Get Segment
get-segmentRetrieve a segment's status, last contact count, and filter in create/update-compatible format. Use list-contacts with segment_id to view its members.
Instructions
Get one segment: its status, its last contact count and its filter, in the format create-segment and update-segment accept. To see its members, call list-contacts with segment_id.
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": {
"id": "<id>"
},
"name": "get-segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The segment id. |