Konnectify

Web Search

Enable your AI agent to retrieve real-time information from the internet during execution, accessing up-to-date external data instead of relying solely on pre-trained knowledge.


Agent Tool Real-Time Search Structured Output Full Observability


What is the Web Search tool?


The Web Search tool is an agent tool that enables an AI agent to retrieve real-time information from the internet during execution. By using this tool, agents can access current external data such as news, market trends, company information, and technical updates instead of relying solely on pre-trained knowledge.

The tool performs the search, retrieves relevant results, and the LLM processes them to extract useful information. The output is returned as a ToolMessage, and the agent continues execution using the retrieved data.

Key capabilities
  • Real-Time Information Retrieval — search for current data including news, market trends, company profiles, and technical updates
  • Structured Output — returns results with source links, citations, and extracted content
  • Full Observability — all search activity is visible in activity logs, including the query, sources used, and extracted results

Prerequisites

What you'll need before using the Web Search tool
  • At least one LLM provider connection available in your Konnectify account.
  • A supported model selected for your agent — OpenAI GPT-4o or Anthropic Claude 3 and above.
  • An existing agent or the ability to create a new one in the AI Agents section.

Configuration

When adding the Web Search tool to an agent, three fields must be configured. Each one shapes how the agent identifies, invokes, and uses the tool during execution.

Instructions REQUIRED

Specifies how the tool should be used. Use this field to provide the agent with detailed operational guidance for example, prioritizing recent sources, requiring citations in responses, or structuring the output in a specific format. Well-written instructions directly improve the quality and consistency of the tool's output.

Tool Name

A custom identifier used by the agent to invoke the tool. This is the name the agent will reference internally when deciding to use web search.

Description

Defines when the agent should use the Web Search tool. A clear, specific description helps guide the agent's decision-making process — the better the description, the more reliably the agent invokes the tool at the right moment.

All three fields are required. The Instructions field in particular has the most direct impact on output quality — always provide clear, specific guidance on how the tool should behave.

When to Use

Use the Web Search tool when your agent needs dynamic or external data that goes beyond its pre-trained knowledge.

✓  Good fits
  • Researching company profiles, founders, or funding data
  • Fetching the latest news on a topic
  • Identifying competitors, trends, and industry insights
  • Enriching internal records with external data
  • Looking up documentation, versions, or technical updates
✗  Not the right tool
  • Static or already known information the model has in training
  • Private or restricted content (not accessible by web search)
  • Data that requires authenticated access to internal systems

Step-by-step Guide

1
Open the AI Agents section

Navigate to the AI Agents section and open an existing agent or create a new one.

2
Go to Configured Tools

Inside the agent, navigate to the Configured Tools section.

3
Add Web Search

Click Add a new tool and select Web Search from the tool list.

4
Configure the tool
  1. Write Instructions — specify how the tool should behave, such as prioritizing recent sources, always including citations, or structuring the output in a specific format.
  2. Enter a Tool Name — a clear identifier the agent will use to invoke the tool.
  3. Write a Description — define when the agent should use web search (e.g. "Use this tool when the user asks for real-time or current information not available in training data").
Tip: All three fields are required. The Instructions field directly controls how the agent uses the tool — invest time writing clear, detailed instructions for the best results.
5
Update the agent's instructions

Update the agent's main instructions to include guidance on when to use the Web Search tool. This reinforces the tool's purpose at the agent level.


6
Select a supported language model

Choose a compatible model for the agent — OpenAI GPT-4o or Anthropic Claude 3 and above.

7
Save and activate the agent

Save the configuration and activate the agent to make it live.

8
Test and verify
  1. Test the agent with queries that require real-time or external information.
  2. Verify the results and review the activity logs to confirm the tool was invoked correctly.

Activity Logs

The activity logs provide full visibility into every Web Search tool execution, ensuring transparency and making it easier to debug and validate agent behaviour. Each log entry includes:

  • Search query — the exact query the agent used to search the web
  • Sources referenced — the list of web sources the tool retrieved results from
  • Extracted content — the relevant information pulled from search results
  • Tool output — the full ToolMessage returned to the agent for further processing

Example Use Cases

Company Research
Founders · Headquarters · Products · Funding
RESEARCH

Retrieve company details such as founders, headquarters, products, funding rounds, and key competitors. Ideal for sales intelligence, due diligence, and market mapping.

News Retrieval
Latest updates · Topic monitoring · Current events
NEWS

Fetch the latest news and updates on any specific topic. Useful for monitoring brand mentions, industry shifts, regulatory changes, or competitor activity.

Market Analysis
Competitors · Trends · Industry insights
ANALYSIS

Identify competitors, trends, and industry insights from the web. Supports strategic planning, positioning, and competitive benchmarking.

Data Enrichment
External data · Internal record enhancement
ENRICHMENT

Enhance internal data records with external information from the web — such as adding missing company details, contact data, or product information to a CRM entry.

Technical Lookup
Documentation · Versions · Technology updates
TECHNICAL

Retrieve documentation, version numbers, changelogs, or updates for libraries, APIs, and technologies. Keeps agents up to date with the latest releases.

Example Instruction

The following is a ready-to-use instruction you can paste into the Instructions field when configuring the Web Search tool for a Company Research use case. Adapt it for your own needs.

Company Research — Example Instructions Field

You are a professional market research analyst.

I will provide you with a company name. Your task is to perform a web search and generate a structured, accurate, and concise company profile.

Instructions:

1. Search the web for the given company.

2. Extract only verified and relevant information.

3. Present the output in a clean, structured format.

Include the following details:

- Company Name

- Founders (with names)

- Year Founded

- Headquarters (Location)

- Industry / Sector

- Company Size (employees or range)

- About the Company (brief description of what they do)

- Products / Services

- Target Customers / Market

- Funding / Valuation (if available)

- Key Competitors (if available)

- Website

Rules:

- Use the most recent and reliable sources.

- Keep the response concise but informative.

- Do NOT hallucinate or assume missing data — mention "Not publicly available" if needed.

- Prefer bullet points over long paragraphs.

Input:

Company Name: [ENTER COMPANY NAME]

Things to Know

Best practices

  • Clearly define when the tool should be used in the Description and agent instructions
  • Write detailed Instructions — this field is required and has the most direct impact on output quality
  • Use the tool for dynamic and external data requirements only
  • Avoid using the tool for static or already-known information — it adds unnecessary latency
  • Review activity logs after testing to confirm the agent is invoking the tool at the right moment

Limitations

LimitationDetail
Result accuracyDepends on the capabilities of the selected large language model
Private or restricted contentCannot be accessed — the tool only retrieves publicly available web content
Model selection matters: The quality and accuracy of web search results are directly influenced by the model processing them. Always use a supported model — GPT-4o or Claude 3 and above — for the best results.
Ready to build smarter agents?

Add the Web Search tool to your agent and give it access to real-time, source-backed information for dynamic and research-driven use cases.

Get started free →

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article