Add a word to a banned-words list
add_banned_wordAdd a term to a banned-words list to flag it in future text audits. Supports global bans or style-specific restrictions.
Instructions
Add a term to this installer's own banned-words list, checked by audit_text alongside the built-in AI-tell corpus. Without styleId, this adds to the global list, which applies to every style. With styleId, it only applies when auditing against that specific style, merged on top of the global list. Use this when the user says something like 'add [word] to my banned words list' or 'never let me use [word] again'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | The term or short phrase to ban. | |
| styleId | No | Style id to scope this ban to, from list_styles. Omit to add to the global list. |