action listennotes_spellcheck { label: "Spell check on a search term" description: "Suggest a list of words that correct the spelling errors of a search term. This endpoint is available only in the PRO/ENTERPRISE plan." provider: listennotes method: GET path: "/spellcheck" encoding: json input: { type: "object" properties: { q: { type: "string" } } required: ["q"] additionalProperties: false } output: { type: "object" required: ["corrected_text_html", "tokens"] properties: { corrected_text_html: { type: "string" description: "The corrected text for the entire search term (multiple words/tokens), where misspelled tokens are replaced with the correct texts and html tags " } tokens: { type: "array" description: "The word in the text query string that is not spelled correctly" items: { type: "object" properties: { offset: { type: "integer" description: "The zero-based offset from the beginning of the text query string to the word that is misspelled" } suggestion: { type: "string" description: "A word that corrects the spelling error" } token: { type: "string" description: "The misspelled word" } } } } } } }