flag_contest_discrepancy
Flag factual discrepancies in contest data found during AI research and save them for human review without modifying original contest records.
Instructions
Flag a factual discrepancy found in CONTEST DATA during AI research.
When a chatbot discovers a concrete, verifiable error in the Contests collection while doing research (e.g. the prize on the official page differs from what's stored), it can call this tool to save the finding to the flagged_discrepancies collection for human review.
This tool does NOT modify the Contests collection — it only records the finding. A human should review and resolve via the appropriate pipeline (apply_migration_patch, etc.).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Pipeline stage that detected it (e.g. "ai_detail_generation", "ai_validation") | ai_detail_generation |
| contest_id | Yes | The MongoDB ObjectId of the contest with the issue | |
| flagged_by | No | Identifier for the chatbot/AI that found it (e.g. "claude-1", "chatgpt-mistral") | |
| discrepancies_json | Yes | JSON string — array of discrepancy objects. Each object: { "field": "prize.totalUSD", "currentValue": 50000, "observedValue": 10000, "sourceUrl": "https://...", "confidence": 0.95, "notes": "Official page clearly states $10,000" } |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||