Delete Campaign Group
growsurf_delete_campaign_groupDelete a group from your GrowSurf program. Its members move to Default, and its Campaign Rewards are removed from the program. Rewards already earned keep their amounts and can still be sent. Returns { id, success, movedToDefault }. Targets campaignId if you pass it, 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": {
"groupId": "<groupId>",
"campaignId": "<campaignId>"
},
"name": "growsurf_delete_campaign_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The group ID (`grp_…`). | |
| campaignId | Yes | Target program id for this call: the `id` returned by `growsurf_list_campaigns`, not the program name or a share URL. Defaults to GROWSURF_CAMPAIGN_ID when omitted. Program IDs also identify newly created programs without restarting the server. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The deleted group ID. | |
| success | No | Whether the group was deleted. | |
| movedToDefault | No | The number of members moved to Default. |