get-segment
Fetch a segment's metadata by its ID to view details relevant to feature flag targeting.
Instructions
This endpoint returns the metadata of a Segment
identified by the segmentId.
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": {
"segmentId": "<segmentId>"
},
"name": "get-segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segmentId | Yes | The identifier of the Segment. |