fanar_moderate
Scores prompt and response pairs for safety and cultural awareness in Arabic or English with FanarGuard, enabling moderation of AI interactions. Requires Fanar-Guard-2 on the API key.
Instructions
Score a prompt and response pair with FanarGuard for safety and cultural awareness, in Arabic or English. Requires Fanar-Guard-2 on the key.
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": {
"prompt": "<prompt>",
"response": "<response>"
},
"name": "fanar_moderate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| response | Yes |