lorem-word
Generates a random word matching a specified length or min/max range, with fallback strategies when no exact-length word is available.
Instructions
Generates a word of a specified length.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lorem-word"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | The expected length of the word. | |
| strategy | No | The strategy to apply when no words with a matching length are found. Available strategies: 'fail', 'shortest', 'closest', 'longest', 'any-length'. |