⚙Tool
Search Tools
Search the web and return the most relevant results with title, link, snippet, and date.
The Search provider performs a web search and returns the most relevant results, each with a title, link, snippet, and date. Use it in a workflow when an agent or downstream block needs fresh, real-world information from the web rather than relying on model knowledge alone.
Overview
| Property | Value |
|---|---|
| Provider | search |
| Category | tools |
| Auth | none (calls the internal /api/tools/search endpoint; the platform manages the upstream search credentials) |
Operations
| Operation | Tool ID | Description |
|---|---|---|
| Web Search | search_tool | Search the web. Returns the most relevant web results, including title, link, snippet, and date for each result. |
Configuration
search_tool
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The search query. Visibility is user-or-llm, so it can be supplied directly by the user or generated by an LLM when the tool is called by an agent. |
This tool takes no API key — it posts to the platform-internal /api/tools/search endpoint, which handles the upstream search credentials and billing. There are no secret parameters to configure.
Outputs
search_tool
results(array) — The list of search results. Each entry contains:title(string) — The result title.link(string) — The URL of the result.snippet(string) — A short text excerpt from the result.date(string, optional) — The publication or indexed date of the result, when available.position(number) — The rank/position of the result in the result set.
query(string) — The search query that was executed.totalResults(number) — The total number of results found.
YAML Example
search_1:
type: search
name: "Search"
inputs:
operation: "search_tool"
query: "latest advances in AI agents 2026"
connections:
outgoing:
- target: next-block-idTips
- No credentials are required in your workflow. The block calls the internal
/api/tools/searchroute, so you do not provide an API key — the platform manages the upstream search provider and billing. - Each search costs $0.01 per query (per the block definition), so avoid running it in tight loops; cache or reuse results where possible.
- Pass dynamic values into
querywith double-brace references, e.g.query: "{{agent_1.content}}", to search based on a previous block's output. - Downstream, iterate over
{{search_1.results}}(an array oftitle/link/snippet/date/position) rather than assuming a fixed result count — use{{search_1.totalResults}}to know how many were returned.