Preview prompt-injection scan (free)
preview_scan_textFree. Prompt-injection pre-check for up to 1000 characters: verdict (safe/suspicious/malicious), score, categories and rule ids. For spans, a sanitized copy, long texts or batches use scan_text (paid).
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": "preview_scan_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to check, up to 1000 characters | |
| source | No | Where the text comes from; tunes a few rules (token_metadata flags any URL in a token name). |