getRandomImage
Returns a random royalty-free image, optionally constrained by category, width and height. Useful for placeholder or sample imagery.
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": "getRandomImage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Width of the image to generate. Must be between 1 and 5000. Default value is 640. Premium only. | |
| height | No | Height of the image to generate. Must be between 1 and 5000. Default value is 480. Premium only. | |
| category | No | Image category. If set, must be one of the following: nature, city, technology, food, still_life, abstract, wildlife. Premium only. |