v0.1.19: Two new tools: drug shortage search and field path discovery
Two new tools: drug shortage search and field path discovery
Adds openfda_search_drug_shortages and openfda_describe_fields, plus a shared field catalog that powers proactive field discovery and reactive empty-result hints across all 9 search tools.
Added:
- openfda_search_drug_shortages (#8) — search the drug/shortages endpoint; returns status, availability, therapeutic category, dosage form, manufacturer, timeline, and openfda cross-links (brand_name, product_ndc, rxcui)
- openfda_describe_fields (#9) — returns searchable field paths for any of 15 cataloged endpoints, grouped by category with data type and description
- field-catalog.ts — static catalog of ~200 field paths shared by the new tool and empty-result enrichment
Changed:
- All 9 search tools append the top 6 field paths for the queried endpoint to the notice enrichment when results are empty, pointing to openfda_describe_fields for the full list (#9)
289 tests pass; bun run devcheck clean.