Skip to main content
Tools are what make your AI Voice Agents capable. They enable your agents to perform actions, not just talk.

What are Tools?

Tools are functions that your AI Voice Agent can call to perform actions:
  • Custom Python Functions - Write your own functions
  • REST API Tools - Call external APIs
  • Toolkits - Group related tools together
When a user asks your AI Voice Agent to do something, the agent can:
  1. Identify which tool(s) are needed
  2. Call the tool(s) with the right parameters
  3. Use the results to provide a helpful response

Why Tools Matter

Without tools, your agent can only talk. With tools, your agent can:
  • Search the web
  • Access databases
  • Call APIs
  • Perform calculations
  • Execute any action you can code

Core Concepts

Quick Example

from kuralit.tools import Toolkit

def get_weather(location: str) -> str:
    """Get weather for a location."""
    return f"Weather in {location}: sunny, 22°C"

# Create toolkit
weather_tools = Toolkit(tools=[get_weather])

# Use with agent
agent = AgentSession(
    tools=[weather_tools],
    # ...
)

Next Steps