Hide or show badge
set_badgeHide or show the BrewPage badge on a publication using an owner token; omit the hidden flag to check the current badge state.
Instructions
Hide or show the BrewPage badge on a publication. Needs an owner token that is in a BrewPage profile (free sign-in at https://account.brewpage.app); up to 5 hidden per profile.
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": {
"type": "<type>",
"namespace": "<namespace>",
"id": "<id>"
},
"name": "set_badge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Publication ID | |
| type | Yes | Publication type | |
| hidden | No | true = hide the badge, false = show it. Omit: report the current state. | |
| namespace | Yes | Publication namespace | |
| ownerToken | No | Owner token from create. Default: env BREWPAGE_OWNER_TOKEN (local server only). |