safe_search_tool
Search the web and retrieve sanitized text answers with verified source URLs, protected by multi-layer prompt injection defense.
Instructions
Search the web safely. Returns sanitized text + source URLs.
Pipeline: L0 (Gemini grounding) → resolve redirects → L1 → L2. Fails if L1 or L2 detects injection in L0's output.
Returns synthesized prose answer + list of source URLs that can be followed up with quarantine_fetch for full content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string | |
| num_results | No | Approximate number of results (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||