Inference Logoinference.sh

Adding Tools

Tools extend what your agent can do. There are three types of tools.


Tool Types

TypeWhat it isUse case
AppAny app from the gridImage generation, search, transcription
AgentAnother agentDelegate specialized tasks
HookExternal webhookConnect to your own services

All tools are managed in one place: the Tools tab.


Adding an App Tool

  1. Open your agent's settings
  2. Go to the Tools tab
  3. Click Add ToolApp Tool
  4. Search and select an app

The agent can now call this app.

What happens automatically:

  • Name is extracted from the app
  • Input schema becomes tool parameters
  • You can customize the description shown to the agent

Adding an Agent Tool

Agents can delegate to other agents:

  1. Go to Tools tab
  2. Click Add ToolAgent Tool
  3. Select another agent

The main agent can now delegate tasks to it.

code
1Main Agent2 Research Agent (gathers information)3 Writing Agent (creates content)4 Editor Agent (reviews and polishes)

See Sub-Agents for more details.


Adding a Webhook Tool

Connect your agent to external services:

  1. Go to Tools tab
  2. Click Add ToolWebhook Tool
  3. Enter a name and webhook URL
  4. Optionally add a secret and input schema

When called, the hook receives:

  • Tool arguments
  • A callback URL to return results

Example App Tools

ToolWhat it does
stable-diffusionGenerate images
whisperTranscribe audio
summarizeCondense text
web-searchSearch the internet

How Agents Use Tools

When you chat:

code
1You: Generate a sunset image2 3Agent: I'll create that for you.4       [Calling stable-diffusion with prompt "sunset"]5       6       Here's your sunset image!

The agent decides when to use which tool based on your request.


Tool Descriptions

Each tool has a description that tells the agent what it does. Good descriptions help the agent choose the right tool:

Generic:

code
1Search the web

Better:

code
1Search the web for current information. Use when you need up-to-date 2facts, news, or information not in your training data.

Next

Sub-Agents

we use cookies

we use cookies to ensure you get the best experience on our website. for more information on how we use cookies, please see our cookie policy.

by clicking "accept", you agree to our use of cookies.
learn more.