citations_check
Check which URLs AI engines like Perplexity, Claude, ChatGPT, Gemini, or Bing cite for a search query, showing the sources grounding their answers.
Instructions
Return URLs cited by an AI engine (Perplexity, Claude, ChatGPT, Gemini, or Bing) for a query. Use this when an agent or user wants to see what sources an AI search engine grounds answers on. Requires at least one engine API key; auto-picks the first available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query to test (what would a user ask an AI?) | |
| engine | No | Engine to query. • perplexity / google_ai_mode — consumer_scrape: closest to real product behavior. • claude / openai / gemini — api_proxy: API-tier call, may differ from consumer product. • bing_serp / brave_serp — web_rank: traditional SERP rank, NOT LLM citation. 'auto' prefers SerpAPI (google_ai_mode) → Perplexity → LLM adapters → web_rank. | auto |
| max_results | No | Maximum citations to return. | |
| perplexity_model | No | Perplexity model override (e.g. 'sonar', 'sonar-pro', 'sonar-reasoning'). Only used when engine='perplexity'. Defaults to 'sonar-pro'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query that was executed. | |
| cached | Yes | Whether the result was served from the local cache. | |
| engine | Yes | Engine used for this response. | |
| surface | Yes | Engine surface type: consumer_scrape, api_proxy, or web_rank. | |
| citations | Yes | Cited URLs ordered by rank. | |
| fetched_at | Yes | UTC ISO-8601 timestamp of the fetch. | |
| raw_answer | No | Raw answer text from the engine, if available. Absent for web_rank engines (bing_serp, brave_serp) that return ranked URLs without a synthesized answer. | |
| interpretation_note | Yes | Guidance on how to interpret results from this engine. |