Browserbase icon

Browserbase

Browser automation, web search, and page fetches with Browserbase.

Agent → Search the Web

AI-generated

Summary

Searches the web and returns structured results including the query, result count, and matching items.

Inputs

  • query (required) — The search query to run
  • numResults — How many search results to return (1-25)
  • searchOptions — Search options including provider and mode

Output shape

a single record with requestId, query, results, and resultCount

results array length corresponds to resultCount; query returns the actual search query used; provider and mode settings affect the search but are not returned in the output data

Examples

Example 1: Search for 'browserbase documentation' and return top 5 results

query: 'browserbase documentation', numResults: 5

Example 2: Search using Exa provider for recent AI advancements

query: 'latest AI advancements', provider: 'exa', numResults: 10

Links

Discussion