Skip to main content
Connic
Build

Web Tools

Search current web results, then fetch full pages as clean Markdown.

Last updated
Usage-based pricing

Every call to web_search or web_read_page adds one run to billing. A base run that makes two web-tool calls counts as three runs.

+1 run per call

Search the web for current information

How it works

web_search returns relevant titles, URLs, and content snippets. Results can be targeted by country and can include recent news articles.

agents/researcher.yaml
version: "1.0"

name: researcher
model: openai/gpt-4o
description: "Research agent with web search"
system_prompt: |
  You are a research assistant with web search capabilities.
  Search the web to find current information and cite sources.

tools:
  - web_search

Parameters

ParameterTypeDefaultDescription
querystringrequiredSearch query
max_resultsint5Number of results, up to 10
countrystringNoneISO 3166-1 alpha-2 country code, such as DE, US, or FR
include_newsboolfalseAlso search recent news and merge it into the results list

Return value

Returns a results list. Each result contains:

  • title — page title
  • url — page URL
  • content — page-content snippet

web_read_page

+1 run per call

Fetch a page and return its content as Markdown

How it works

web_read_page fetches a web page and converts its full content to clean Markdown. Use it after web_search when the agent needs more than a search snippet.

agents/reader.yaml
version: "1.0"

name: reader
model: openai/gpt-4o
description: "Agent that reads and summarizes web pages"
system_prompt: |
  You can fetch web pages and summarize their content.
  Use web_search to find pages, then web_read_page to read them.

tools:
  - web_search
  - web_read_page

Parameters

ParameterTypeDefaultDescription
urlstringrequiredPage URL to fetch
follow_redirectsbooleantrueFollow redirects and read the final page. When false, a redirect returns an error and the target in redirect_url.

Return value

Returns a dictionary containing:

  • markdown — converted page content
  • url — final fetched URL after redirects
  • error — included only on timeout, fetch failure, or blocked redirect
  • redirect_url — target returned when a redirect is blocked