scan_prompt_for_injection
Detect prompt injection attacks in any instruction text by applying PromptGuard patterns, protecting LLM applications from malicious inputs.
Instructions
Run existing PromptGuard patterns against supplied instructions.
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": "scan_prompt_for_injection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |