moderate_text
Analyze text content to determine safety using a guardrail API for moderation, returning assessment results.
Instructions
Check if a text is safe using chakoshi Guardrails Apply API
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": {
"text": "<text>"
},
"name": "moderate_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to check (max 2000 characters) |