moderate
moderateSafety check (Llama Guard 3): classify up to 10 texts as safe or unsafe with hazard categories (violence, weapons, hate, self-harm, sexual content, privacy, elections and more). Check user input or your own reply before posting. Priced by size: $0.003 + $0.0004 per text + $0.0004 per 1,000 characters. Costs $0.03 USDC per call (x402).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "moderate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | user (default) or assistant | |
| text | No | ||
| texts | No |