Remove brand rule
remove_ruleAsks to remove one of a brand's rules (rule_id from get_brand), or to turn a house style switch off (toggle). It does not change anything yet: an owner or admin approves it in Yaybird, at the approval_url it returns.
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": "remove_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Brand id from get_workspace. Optional when the workspace has one brand. | |
| reason | No | Why, for the person deciding. | |
| toggle | No | ||
| rule_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| change_id | Yes | ||
| approval_url | Yes |