Usage Instructions
Integrate Serper into the workflow. Can search the web.
Tools
serper_search
A powerful web search tool that provides access to Google search results through Serper.dev API. Supports different types of searches including regular web search, news, places, images, videos, and shopping. Returns comprehensive results including organic results, knowledge graph, answer box, people also ask, related searches, and top stories.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query (e.g., "latest AI news", "best restaurants in NYC") |
num | number | No | No description |
gl | string | No | Country code for search results (e.g., "us", "uk", "de", "fr") |
hl | string | No | Language code for search results (e.g., "en", "es", "de", "fr") |
type | string | No | Type of search to perform (e.g., "search", "news", "images", "videos", "places", "shopping") |
apiKey | string | Yes | No description |
pricing | custom | No | No description |
metadata | string | No | No description |
rateLimit | string | No | No description |
Output
| Parameter | Type | Description |
|---|---|---|
searchResults | array | Search results with titles, links, snippets, and type-specific metadata (date for news, rating for places, imageUrl for images) |
↳ title | string | Result title |
↳ link | string | Result URL |
↳ snippet | string | Result description/snippet |
↳ position | number | Position in search results |
↳ date | string | Publication date (news/videos) |
↳ imageUrl | string | Image URL (images/news/shopping) |
↳ source | string | Source name (news/videos/shopping) |
↳ rating | number | Rating (places) |
↳ ratingCount | number | Number of reviews (places) |
↳ address | string | Address (places) |
↳ price | string | Price (shopping) |
↳ duration | string | Duration (videos) |

