Actions5
- Answer Actions
- Web Search Actions
- Scrape Actions
- YouTube Actions
- PDF Actions
Web Search → Search
AI-generatedSummary
Execute a web search query using the LLMLayer API, optionally filtering by search type, location, recency, and domain inclusion or exclusion.
Inputs
- Query (required) — The search query string to find relevant web results.
- Search Type — Type of search to perform, such as general, news, shopping, videos, images, or scholar. Defaults to 'general'.
- Location — Location code (e.g., 'us') to customize search results geographically. Defaults to 'us'.
- Recency — Filters search results by recency, from any time to past hour, day, week, month, or year.
- Domain Filter — Comma-separated list of domains to explicitly include or exclude (prefix with '-' to exclude).
Output shape
a single JSON object containing search results from the LLMLayer web search endpoint
The returned JSON includes search results matching the query and applied filters. Errors are returned with an error message in JSON format. Only one result per input item is returned.
Examples
Example 1: Search for the latest technology trends filtered by news results in the US from the past month excluding certain domains
Set 'Query' to 'latest technology trends', 'Search Type' to 'news', 'Location' to 'us', 'Recency' to 'past month', and 'Domain Filter' to exclude domains like '-example.com'.
