Add tools
Adding a tool makes one operation in your API available to AI agents. You identify the operation, describe it in terms an agent can act on, define the information it accepts and returns, and decide who may use it and at what price. Mitu then presents the tool to every agent that connects to your service and forwards each call to your API, which performs the work as it would for any other client.
Tools are added under Tools in the Agents area of the Mitu dashboard. If your API is already described by an OpenAPI document, you can import your tools instead and refine them using the same settings described here.
Before you begin
Your API must be connected through your integration, because the path of every tool is appended to the base URL you set there. If any tool will act on a customer’s account, choose how customers authenticate first.
Adding a tool
Identify the operation
Select Add tool, then enter the HTTP method and the path of the operation in your API. Give the tool a name that states the action it performs, using a short verb and noun such as check_availability or create_booking.
Describe it for agents
Agents choose between tools using the text you provide, so precise wording leads directly to more accurate requests.
- Description
What the tool does and what it returns, in plain language. - When to use
The situation in which an agent should call it, and any condition that must be met first, such as the customer confirming the details. - Call first
Any tools that must be called before this one, such as retrieving availability before creating a booking.
Define its input and output
Describe the information the tool accepts, and what it returns, with a JSON Schema. Agents use the input schema to construct a valid request and the output schema to interpret the response.
Describe every field as you would to a new colleague, and keep the schema aligned with what your API actually accepts.
Set who can use it
Decide whether the tool requires a signed in customer. Any tool that reads or changes a customer’s account should require one, while tools that return public information can remain open. Each tool also accepts a fixed number of calls per minute, 60 by default, which protects your API from excessive traffic. Rate limits describes what happens when it is exceeded.
Set its price
Every tool is free unless you price it. Choose a fixed price, a price your API calculates for each request, or a session that the agent funds once and draws on. Pricing describes each model.
Publish it
A tool added in the dashboard is saved as a draft, so you can describe it in your instructions before agents see it. It becomes available to agents when you next publish, together with any other drafts and your instructions, so related changes always reach agents at the same moment. Before you rely on a tool, call it from an AI app to confirm that the agent selects it at the right moment and sends a valid request.
Tool settings
Managing tools over time
- Pause instead of deleting
Pause a tool to withdraw it from agents temporarily, for example while the operation behind it is unavailable, and resume it when it is ready. - Archive what you retire
Archive a tool you no longer offer, so it is hidden from agents while its configuration is kept. - Keep schemas in step with your API
Update a tool’s schema whenever the operation behind it changes, so agents continue to send requests your API accepts.
Each tool you add extends what agents can do with your business by exactly one operation, under the access, pricing and limits you have set. Your API remains responsible for the work itself, so every request is handled with the same logic and safeguards that apply to your own applications.