Web search
Real-time information retrieval from web sources.
The web search tool gives agents access to real-time web information, including current events, recent developments, and external references.
Last modified on June 18, 2026
⌘I
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Real-time information retrieval from web sources.
from seekrai import SeekrFlow
from seekrai.types import CreateWebSearch
client = SeekrFlow()
web_search_tool = client.tools.create(
CreateWebSearch(
name="my_web_search",
description="Search the web for current information, news, recent developments, and real-time data."
)
)
print(f"Tool created: {web_search_tool.id}")
| Parameter | Required | Description |
|---|---|---|
name | Yes | A unique name for the tool. |
description | Yes | Description that helps the agent understand when to use this tool. |
from seekrai.types import CreateAgentRequest
agent = client.agents.create(
CreateAgentRequest(
name="WebSearchBot",
instructions="You are an expert assistant with access to real-time web information. Use the web search tool for current events, recent developments, or information not in your training data.",
model_id="meta-llama/Llama-3.3-70B-Instruct",
tool_ids=[web_search_tool.id]
)
)
print(f"Agent ID: {agent.id}")
print(f"Agent status: {agent.status}")