openai_moderate_content
Classify text and supported images with the Moderations API to detect harmful or policy-violating content.
Instructions
Classify text or supported image inputs with the Moderations API.
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": "openai_moderate_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | omni-moderation-latest | |
| input_json | No | ||
| input_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||