getBenefits
List benefits. Omit locationRef and categoryRef to list across all locations, or provide one to scope to a location or category. Call getLocations to list locations, or getLocation to fetch one by locationId. Get categoryRef from getBenefitCategories.
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": "getBenefits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of benefits per page. Defaults to 25 when omitted or invalid; values above 100 are capped at 100. | |
| featured | No | Filter by featured status. Pass true or false. | |
| categoryRef | No | UUID of the benefit category. | |
| locationRef | No | UUID of the location. Omit both locationRef and categoryRef to list benefits across every location of the network. | |
| nextPageToken | No | Pagination token from nextPageToken in a previous response. Keep the same filters when fetching the next page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| benefits | Yes | ||
| nextPageToken | No | Pass it back as nextPageToken, with the same filters, to get the next page. Absent on the last page. |