Pubmed Spell Check
pubmed_spell_checkCorrect misspelled PubMed search terms via NCBI ESpell and return a fixed query, helping recover zero-hit or thin article results and resolve drug, gene, disease, or author name typos.
Instructions
Spell-check a PubMed search query against NCBI ESpell and get the corrected query back. Use after a zero-hit or thin pubmed_search_articles result, or when a drug, gene, disease, or author name may be misspelled — every misspelled token is corrected in one call (alzhiemer diseese treatmnt outcomse → alzheimer disease treatment outcomes), and hasSuggestion is false when NCBI has no change to offer. Re-run the search with corrected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | PubMed search query to spell-check. Must carry a term: a value of only whitespace or invisible characters, such as a zero-width space, is rejected rather than sent to ESpell. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| original | No | Original query | |
| corrected | No | Corrected query (same as original if no suggestion) | |
| hasSuggestion | No | Whether NCBI suggested a correction |