classify_input
Check if user input is safe and on-topic before AI processing. Blocks prompt injection, jailbreaks, and off-topic requests to protect LLM actions.
Instructions
Check whether user input is safe and in-scope before an AI system processes it. Detects prompt injection, jailbreak attempts, instruction overrides, and off-topic requests. Use this to validate untrusted user text before passing it to an LLM or executing a tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The untrusted user input to classify | |
| preset | No | Which guard domain to use. Default: general knowledge assistant |