{"schema_version":"v1","name":"prompt-injection-firewall","description":"Production-ready prompt injection detection micro-service. Scan text before AI agent processing to detect and neutralize prompt injection attacks.","version":"pif-v0.1.0","contact":{"url":"https://promptscan.dev"},"tools":[{"name":"scan_for_injection","description":"Scan text for prompt injection attacks before AI agent processing. Returns injection_detected, attack_type, confidence, and sanitized_text.","input_schema":{"type":"object","properties":{"text":{"type":"string","description":"The text to scan for injection attacks","maxLength":50000},"source":{"type":"string","enum":["user_input","web_page","email","pdf","api_response"],"description":"Where the text came from","default":"user_input"},"sanitize":{"type":"boolean","description":"Return sanitized text with attack spans redacted","default":true},"sensitivity":{"type":"string","enum":["low","medium","high"],"description":"Detection sensitivity threshold","default":"medium"}},"required":["text"]},"endpoint":"https://promptscan.dev/v1/scan","method":"POST"},{"name":"batch_scan","description":"Scan up to 50 texts in one call. Efficient for processing multiple documents or messages.","input_schema":{"type":"object","properties":{"texts":{"type":"array","items":{"type":"string","maxLength":50000},"minItems":1,"maxItems":50,"description":"Array of texts to scan"},"source":{"type":"string","enum":["user_input","web_page","email","pdf","api_response"],"default":"user_input"},"sensitivity":{"type":"string","enum":["low","medium","high"],"default":"medium"}},"required":["texts"]},"endpoint":"https://promptscan.dev/v1/scan/batch","method":"POST"},{"name":"signup","description":"Create a free API key to continue using PromptScan after the 10-scan free tier. No browser required. Returns an API key instantly. Include X-API-Key: <key> in all subsequent scan requests.","input_schema":{"type":"object","properties":{"email":{"type":"string","description":"Email address for the account"},"name":{"type":"string","description":"Name or label for this key (optional)","default":""}},"required":["email"]},"endpoint":"https://promptscan.dev/v1/signup","method":"POST"}]}