FDA / openFDA
Overview
Hub tool: query_fda — drug label search with adverse-event fallback (see FdaDrugLabelSearchInput). Broader openFDA categories (devices, foods, 510k, …) use FDAQuery via agent_generated_code and modules under src/tools/search/deepsearch/fda/ (or legacy references/).
Project Tools (VenusFactory2)
| Tool | Args | When |
|---|---|---|
| query_fda | query, max_results, max_content_length |
Conversational drug label / event lookup |
Workflow
- Quick drug question →
query_fda - Devices / foods / recalls / 510k → load
references/devices.md(etc.) +agent_generated_codewithFDAQuery - Set
OPENFDA_API_KEYwhen available to raise rate limits
When NOT to use
- Potency / IC50 / SAR →
chembl_database+rdkit - Literature review →
pubmed/openalex
Common mistakes
- Inventing tools like
query_fda_device/query_drug_eventsas hub names - Treating
query_fdaas full openFDA coverage
References (progressive disclosure)
Trust order: SKILL.md (hub tools & envelopes) → topic refs → references/legacy_guide.md (archived; may be outdated).
read_skill(skill_id="fda", relative_path="references/legacy_guide.md")
Load legacy only after the hub workflow in this file is insufficient.