Skip to content

ToolsSearch and pages

Docs

Tools

Search and pages

Google web and news results, and any page as Markdown.

Things to ask#

Ask your agent in plain words. It picks the tool.

  • What is Google showing right now for 'best crm for startups', and what are people also asking?
  • Find news about HubSpot from the past week and summarize the main stories.
  • Read stripe.com/pricing and list every plan with its price.

Tools in Search and pages#

3 tools. Prices are in credits; 1,000 credits are $1.

ToolUse it whenCost
search_googleYou need what Google shows for a query today: the top results, questions people ask, related searches and the knowledge panel.1.65 credits per call
search_newsYou need recent news coverage of a company, person or topic.1.65 credits per call
web_get_pageYou need the text of a public web page, including ones that block bots or need JavaScript.1.65 credits per call

Search Google#

Toolsearch_google
Reads
Good for
You need what Google shows for a query today: the top results, questions people ask, related searches and the knowledge panel.
Not the tool for
Rank tracking or SERP features for SEO work (use seo_get_serp), or reading a result's page (use web_get_page).
What you get
About 10 results per page with title, URL and snippet, plus people also ask, related searches, the knowledge panel and local results when Google shows them.
Cost
1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.

Parameters

NameTypeRequiredDescription
querystringYesWhat to search for.
countrystringNoTwo-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us.
languagestringNoInterface language, e.g. en, de, pt-br. Default: the brand's language, else en.
pageintegerNoResults page, 1 to 10. Default 1.
Example
{
  "name": "search_google",
  "arguments": {
    "query": "hubspot crm pricing",
    "country": "us"
  }
}

Search news#

Toolsearch_news
Reads
Good for
You need recent news coverage of a company, person or topic.
Not the tool for
General web results (use search_google).
What you get
News articles with title, URL, publisher, date and snippet, newest coverage first when a period is set.
Cost
1.65 credits per call. Cached 30 minutes: a cache hit costs 0.825 credits.

Parameters

NameTypeRequiredDescription
querystringYesWhat to search for.
countrystringNoTwo-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us.
languagestringNoInterface language, e.g. en, de, pt-br. Default: the brand's language, else en.
period"hour" | "day" | "week" | "month" | "year"NoOnly articles from the past hour, day, week, month or year.
pageintegerNoDefault 1.
Example
{
  "name": "search_news",
  "arguments": {
    "query": "HubSpot earnings",
    "period": "week"
  }
}

Read a web page#

Toolweb_get_page
Reads
Good for
You need the text of a public web page, including ones that block bots or need JavaScript.
Not the tool for
Pages behind a login, or SEO checks of a page (use seo_get_page).
What you get
The page as Markdown, cut to max_characters, with its final URL after redirects.
Cost
1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.

Parameters

NameTypeRequiredDescription
urlstringYesA full http(s) URL.
renderbooleanNoRun the page's JavaScript first. Slower; only for pages that are empty without it.
countrystringNoTwo-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us.
max_charactersintegerNoCut the Markdown here. Default 40,000.
Example
{
  "name": "web_get_page",
  "arguments": {
    "url": "https://stripe.com/pricing",
    "max_characters": 20000
  }
}