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.


ToolBest forKey CapabilitiesCommon use cases
FileSearchKnowledge/Document retrievalSemantic search, document Q&ARAG applications, internal documentation search
WebSearchReal-time informationLive web data, current eventsResearch, fact-checking, trend analysis
Code InterpreterCode executionDescribe a python function and executeAnalytics and data transformation

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()