Words Autocomplete
words_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").
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prefix": "hel"
},
"name": "words_autocomplete"
}
}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 |