scan_for_prompt_injection
Scan user input for prompt injection threats using SonnyLabs API. Supports EU AI Act Article 15 compliance by detecting manipulation attempts.
Instructions
Scans user input for prompt injection attacks using SonnyLabs.ai API.
Helps comply with EU AI Act Article 15 cybersecurity requirements. Detects attempts to manipulate AI behavior through prompt injection.
Args: user_input: The user input text to scan for threats sonnylabs_api_token: Your SonnyLabs API token (Bearer token) sonnylabs_analysis_id: Your SonnyLabs analysis ID tag: Optional identifier for this scan (default: "mcp_scan")
Returns: Dictionary with threat analysis and EU AI Act compliance info
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | mcp_scan | |
| user_input | Yes | ||
| sonnylabs_api_token | Yes | ||
| sonnylabs_analysis_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |