Autocomplete
autocompleteReturn word completions for a given prefix string using the Datamuse suggestion endpoint. Takes a prefix (e.g., "hel") and returns matching words ranked by score (e.g., "hello", "help", "helpless").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10) | |
| prefix | Yes | The prefix to autocomplete (e.g. "hel" returns "hello", "help", etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | The prefix that was autocompleted | |
| results | Yes | List of word completions ranked by score |