Get Segment
get_segmentShow one segment's full definition: name, match (all or any), lists, contact count and every rule, with the rules exactly as saved so they can be passed to update_segment. Find the ID with list_segments.
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": {
"segment_id": "<segment_id>"
},
"name": "get_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_id | Yes | Segment ID from list_segments |