moderations
Content moderation (OpenAI-compatible) — OpenAI-compatible moderation: POST {input: string or up to 16 strings} and get flagged plus OpenAI category booleans (hate, harassment, violence, sexual, self-harm, illicit...) and the raw Llama Guard 3 hazard codes S1-S14. Drop-in for clients that call /v1/moderations. Price: $0.002 USDC (Base, via x402).
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": {
"input": "<input>"
},
"name": "moderations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Thanks for the help, have a great day! |