Build your agent

Tools

Tools let your agent check stock, look up or create orders and read a sheet in your own systems, through your API, an MCP server or a marketplace app.

Tools connect your agent to other systems so it can do more than answer questions. With a tool, the agent can check stock, look up an order, create an order or read a Google Sheet. Each agent only uses the tools you add to it, and each call is logged so you can see what the agent did.

Create a tool

Open Tools under Agents in the sidebar and choose Create:

The tool type picker with HTTP Tool, Custom MCP and Marketplace
  1. 1HTTP Tool calls an endpoint on your own server. Set the URL, method and authentication, then use the test to check the response.
  2. 2Custom MCP connects to a Model Context Protocol server. Ecbot discovers its actions, and you turn on the ones you want.
  3. 3Marketplace installs a ready-made app, such as Google Sheets, with one sign-in.
The tool type picker with HTTP Tool, Custom MCP and Marketplace

HTTP Tool

The HTTP Tool form with name, description, method, URL, input schema, headers and auth type
  1. 1Name and Description. The agent reads the description to decide when to call the tool.
  2. 2Method and URL of your endpoint.
  3. 3Input schema (JSON): the values the agent fills in for each call, such as a product name or SKU.
  4. 4Headers (JSON) (optional): fixed headers sent with every call.
  5. 5Auth type: how Ecbot signs each call to your server.
The HTTP Tool form with name, description, method, URL, input schema, headers and auth type
FieldWhat to enter
NameA short id, for example product-search.
DescriptionWhat the tool returns and when to use it.
Method and URLThe HTTP method and the full address of your endpoint.
Input schema (JSON)The inputs the agent sends. Add them with Add property, or switch to JSON.
Headers (JSON)Optional fixed headers, such as a shop id.
Auth typeNone, Bearer token or API key. API key also asks for Auth placement (header or query) and Parameter name.
CredentialThe token or key. It is stored encrypted, and left empty when you edit, the saved value is kept.
Timeout (ms) and Max retriesOptional. How long to wait for your server and how many times to retry.

Below the form, Test Endpoint runs one call with sample inputs so you can check the response before you create the tool.

Custom MCP

The Custom MCP form with the server URL, auth type and credential
  1. 1MCP server URL: the Streamable HTTP or SSE endpoint of your MCP server.
  2. 2Auth type and Credential, the same choices as the HTTP Tool.
The Custom MCP form with the server URL, auth type and credential

Add a Name and Description too. After you create it, Ecbot lists the actions the server offers, and you turn on the ones the agent may use.

Marketplace

Pick an app, check what it asks for, then choose Install:

The Google Sheets install page with the access it asks for and the actions it can do
  1. 1Access it asks for: the permissions the app's sign-in page will ask you to allow.
  2. 2What it can do: every action the app offers. Actions marked Can delete data stay off until you turn them on for an agent.
  3. 3Install opens the app's sign-in page, then brings you back here.
The Google Sheets install page with the access it asks for and the actions it can do

There is nothing else to fill in: the sign-in connects your account.

Built-in actions

Some actions are always there and need no setup: Hand off to staff, Notify the team, Add tag and Remove tag, Schedule a follow-up, and Save customer info. The agent uses them on its own, and you can call them from a Tool step in a skill.

Add a tool to an agent

Open the agent's page, open the Tools tab of the Capabilities section and choose Add. For MCP and marketplace tools you can switch each action on or off for this agent. The Recent invocations list on the same page shows each call the agent made, with its input and result.

Write good tool descriptions

The agent decides when to call a tool from its name and description. Say what the tool returns and when to use it, for example "Look up stock for a product name or SKU. Use before telling a customer an item is available."

To teach the agent a full procedure that uses several tools, write a skill.

To see tools at work in a sales chat, read about the sales agent that uses your shop's tools to check stock and take orders, or how one agent for an online shop checks stock and closes orders on every chat channel.

Frequently asked questions

On this page