segments_options
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Read the existing Segment editor's rule options or actual source picker. source selects rules/purchases/forms/resources/events/calls/segments; kind follows that picker. This does not create a Segment or send messages.
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": {
"siteId": "<siteId>",
"source": "<source>"
},
"name": "segments_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| formId | No | ||
| search | No | ||
| siteId | Yes | ||
| source | Yes | rules | |
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| selected | No | ||
| productId | No | ||
| variantId | No | ||
| checkoutId | No | ||
| resourceItemId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | The existing selected picker response is preserved. Source picks return their own options; rules returns the editor's rule-options map. Never infer omitted choices or recipients. | |
| scope | Yes | ||
| command | Yes |