Update Gate
update_gateUpdate a gate. Pass only the fields to change; omitted fields keep their values. Sending rules replaces the whole list, and an empty list clears it. Confirm with the user first. mode is enforce or dry_run. defaultVerdict is allow, review, or deny, and is the gate's default field: the verdict when no rule matches. rules is an ordered list. The first matching rule wins. Each rule has an optional description (at most 200 characters), match (all or any; omit it for all), a verdict (allow, review, or deny), and up to 20 conditions. Each condition is one predicate. badge_present and badge_absent take a single badge slug, not a list. score takes score (humanity, authenticity, uniqueness, or behavior), op (<, <=, >=, or >), and value. score_missing takes the score name only. To allow only when none of these badges are present, set match to all and add one badge_absent condition per slug. To match when any of them is present, set match to any and add one badge_present condition per slug. Do not send a badges list. There are no nested groups. Those scores are the stored 0-100 full-analysis scores, not the Authenticity Check tool. A missing score does not satisfy a score comparison; use score_missing. match, type, score, op, mode, and verdict are fixed sets. An unknown value is a 400 that lists the valid ones. The response includes warnings (unknown_badge, and on a check also score_not_caught and dry_run). unknown_badge means the slug is not currently produced by a badge rule or enabled analyzer for this team. A check counts a badge already on that identity and does not scan the team's badges. Saving a gate also counts a slug still ACTIVE on some identity, including one left by a paused analyzer. Those two known-badge sets differ on purpose. At most 100 gates and 50 rules. Returns the updated gate.
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": {
"slug": "<slug>"
},
"name": "update_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | New mode: enforce or dry_run. | |
| slug | Yes | Gate slug. | |
| rules | No | Replacement rules. Omit to leave the current rules in place. | |
| defaultVerdict | No | New default verdict: allow, review, or deny. |