toxicity_analyze
Score a comment for toxicity (Perspective-compatible). $0.005 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/toxicity/analyze.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | Yes | object (required) - {text: string} comment to score, Perspective comments:analyze body | |
| languages | No | array of strings - optional; en = full attributes, fr/es/it/pt/tr/ru = TOXICITY-only | |
| doNotStore | No | boolean - optional; comment text is never stored regardless | |
| clientToken | No | string - optional, echoed back in the response | |
| requestedAttributes | Yes | object (required) - attribute configs for TOXICITY, SEVERE_TOXICITY, IDENTITY_ATTACK, INSULT, THREAT, PROFANITY (FLIRTATION unsupported) |