intelligence_moderate_content
intelligence_moderate_content
Section titled “intelligence_moderate_content”Category: intelligence
Apply a plain-language moderation policy to a piece of text using the client’s LLM. No Discord API call — purely a moderation utility.
When to use
Section titled “When to use”pre-check user-submitted content; second-opinion on AutoMod decisions; classify ambiguous messages.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
content | string | yes | Text to moderate |
policy | string | yes | Moderation policy in plain language |
Returns
Section titled “Returns”\{decision: "allow"|"flag"|"block", reasons[], confidence, sampling_used\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
decision | string | yes | |
reasons | array | yes | |
confidence | number | yes | |
sampling_used | boolean | yes |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |
Source
Section titled “Source”packages/mcp-core/src/tools/intelligence/moderate_content.ts