> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mitu.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mitu.ai/_mcp/server.

# 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](https://app.mitu.ai). If your API is already described by an OpenAPI document, you can [import your tools](/platform/your-agent-service/tools/import-from-openapi) instead and refine them using the same settings described here.

## Before you begin

Your API must be connected through your [integration](/platform/your-agent-service/integration/overview), 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](/platform/your-agent-service/integration/authentication/overview) 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.

1. **Description**\
   What the tool does and what it returns, in plain language.
2. **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.
3. **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.

**`Input schema`**

```json title="Input schema"
{
  "type": "object",
  "properties": {
    "service_id": {
      "type": "string",
      "description": "The identifier of the service being booked, as returned by check_availability."
    },
    "start_time": {
      "type": "string",
      "format": "date-time",
      "description": "The start of the booking, in ISO 8601 format."
    },
    "notes": {
      "type": "string",
      "description": "Any requirements the customer has asked to pass on."
    }
  },
  "required": ["service_id", "start_time"]
}
```

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](/platform/additional-information/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](/platform/your-agent-service/tools/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](/platform/your-agent-service/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

| Setting          | Description                                                                                         |
| ---------------- | --------------------------------------------------------------------------------------------------- |
| Name             | The name agents use to call the tool.                                                               |
| Method and path  | The HTTP method and the path of the operation, relative to your API base URL.                       |
| Description      | What the tool does and what it returns.                                                             |
| When to use      | The situation in which an agent should call the tool.                                               |
| Call first       | Tools that must be called before this one.                                                          |
| Input schema     | The JSON Schema of the information the tool accepts.                                                |
| Output schema    | The JSON Schema of what the tool returns.                                                           |
| Requires sign in | Whether the agent must be acting for a signed in customer.                                          |
| Rate limit       | The most calls per minute the tool accepts. The default is 60.                                      |
| Pricing          | Free, fixed, dynamic or session.                                                                    |
| Release          | Draft until you next publish, then live.                                                            |
| Status           | Active, paused or archived. Paused and archived tools are hidden from agents without being deleted. |

## Managing tools over time

1. **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.
2. **Archive what you retire**\
   Archive a tool you no longer offer, so it is hidden from agents while its configuration is kept.
3. **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.