SEARCH_IMAGES
Search for images on the web. Returns image URLs, thumbnails, dimensions, and source pages.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Image search query |
max_results | integer | β | Number of results (default 8, max 20) |
region | string | β | Region code (e.g. 'us-en'). Default: no filter |
safesearch | string | β | 'on', 'moderate', or 'off' (default 'moderate') |
size | string | β | Image size filter: 'Small', 'Medium', 'Large', 'Wallpaper' |
type_image | string | β | Image type: 'photo', 'clipart', 'gif', 'transparent', 'line' |
layout | string | β | Layout filter: 'Square', 'Tall', 'Wide' |
How to use it
You normally trigger this by describing what you want in chat β the agent selects SEARCH_IMAGES automatically. For example:
Try saying
βuse web search to search β¦β
In a workflow
As a step in a multi-step workflow DAG:
json
{
"id": "s1",
"agent": "web_search",
"action": "SEARCH_IMAGES",
"args": {
"query": "example query"
},
"depends_on": [],
"outputs": []
}Direct call
For scripting, call it directly via POST /execute_tool. Every tool returns { success, message, data }.
bash
curl -X POST http://127.0.0.1:8000/execute_tool \
-H "Content-Type: application/json" \
-d '{"tool_name":"SEARCH_IMAGES","args":{"query":"example query"}}'Part of the web_search plugin. Browse the full Plugin & Tool Catalog or the relevant feature guide.