List Campaign Rewards
growsurf_list_campaign_rewardsList a GrowSurf campaign's configured rewards, including switched-off and unselected reward types while excluding deleted ones; optionally filter by group to review reward settings.
Instructions
List your GrowSurf program's configured Campaign Rewards, including switched-off rewards and rewards whose reward type is not selected. Deleted rewards are excluded. A reward can be earned only when it also appears in the campaign response's embedded rewards array. The list includes every group's rewards; each reward's groupId names its group (null is Default). These settings do not establish that a participant earned or received a reward; earned reward records belong to the individual participant. Targets campaignId if supplied, otherwise GROWSURF_CAMPAIGN_ID.
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": {
"campaignId": "<campaignId>"
},
"name": "growsurf_list_campaign_rewards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | No | Return only this group's rewards (`grp_…`). To get Default's rewards, omit `groupId` and keep the rewards whose `groupId` is `null`. An ID that is not a group in this program returns `404`. | |
| campaignId | Yes | Target program (campaign) id for this call. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rewards | No | The program's configured Campaign Rewards, including switched-off rewards. Deleted rewards are excluded. | |
| rewardEvidence | No | What this response establishes about rewards. Combine with other reads; unknown here does not override evidence elsewhere. |