Tools

Tools let agents take actions

What Are Tools?

Tools let agents take actions: things like fetching data, running code, searching the web, and executing custom logic.

How are tools used?

Tools are provided to your agent as available capabilities. Based on the agent's instructions and the initial input, the agent decides which tools to use and when to use them. Each tool includes a description field that helps the agent understand what the tool does and when it might be appropriate to invoke it.


Tool

Best for

Key Capabilities

Common use cases

FileSearch

Knowledge/Document retrieval

Semantic search, document Q&A

RAG applications, internal documentation search

WebSearch

Real-time information

Live web data, current events

Research, fact-checking, trend analysis

Code Interpreter

Code execution

Describe a code description

Analytics and data transformation

Custom Tools

Custom business logic, Data transformation,

External integrations,Proprietary data access

Define custom logic and execute it as a Seekrflow Tool

Integrating with internal knowledge stores


List all SeekrFlow agent Tools

from seekrai import SeekrFlow
from seekrai.types import ToolType

def get_available_tools():
    # Initialize SeekrFlow
    seekr = SeekrFlow()
    available_tools = [tool.value for tool in ToolType]
    print(f"Available tools: {available_tools}")

    # Retrieve and return the list of available tools
    return available_tools

get_available_tools()