generate_image
Creates an image from a text prompt through a web LLM and returns the saved file path under ./out/.
Instructions
Generate an image on the web LLM; returns the saved file path under ./out/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| timeout | No | ||
| provider | No | gemini |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |