segments_list
Retrieve and list all segments in a Braze workspace using a REST API key, with optional sorting by direction and pagination.
Instructions
List all segments in the workspace.
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 |
|---|---|---|---|
| page | No | ||
| apiKey | No | Braze REST API key | |
| restEndpoint | No | Braze REST endpoint URL | |
| sort_direction | No |