Scan Text or Image for Hidden Attacks
cleanroom_scan_untrusted_inputCheck untrusted third-party text and an optional image for hidden instructions or unsafe directives before letting an AI agent act on them ($0.02).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanroom_scan_untrusted_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Untrusted text to scan for hidden instructions or safety violations. | |
| context | No | Optional short note explaining where the input came from. | |
| spend_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header. | |
| builder_code | No | Optional partner referral code for revenue sharing. | |
| image_data_uri | No | Optional image data URI to scan for unsafe content or embedded directives. | |
| idempotency_key | No | Optional unique request ID to prevent duplicate billing on retries. | |
| payment_signature | No | Optional direct payment header when paying per request without a prepaid API key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No |