get_segment
Retrieve details for an Interaction Studio segment by its ID, with options to include targeting rules or raw JSON.
Instructions
Get details for a single Interaction Studio segment by id, including optional targeting rules.
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 |
|---|---|---|---|
| dataset | No | Dataset name. Optional if IS_DEFAULT_DATASET is configured. | |
| segment_id | Yes | Segment id from list_segments | |
| include_raw | No | Return full raw JSON instead of formatted summary (default: false) | |
| include_rules | No | Include segment targeting rules (default: true) |