storefront_badges
Mutation/readOnly:false, script-tier/no-model-token action. The badges shown on the storefront: Boatwork keeps one fixed list, and each badge is switched on or off for this business. Action 'list' is read-only and comes first: it returns every badge with its id and whether it is on. Then action 'set' with that badgeId and active true (show it) or false (hide it). Admin role (owner_tools.manage).
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": {
"action": "<action>",
"proAccessToken": "<proAccessToken>"
},
"name": "storefront_badges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 'list' returns every badge and whether it is on; 'set' switches one on or off. | |
| active | No | Required for 'set': true shows the badge on the storefront, false hides it. | |
| badgeId | No | Required for 'set': the badge id from 'list'. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |