Skip to navigation

Tools

Define the operations AI agents can perform with your business, from your own API and from Mitu integrations.
View as Markdown

Tools define what AI agents are able to do with your business. Each tool represents a single operation, such as searching a catalogue, checking availability, retrieving an account or creating a booking, and together they form the complete set of actions available to any agent that connects to your service. An agent can only ever perform the operations you have published as tools, so the rest of your API remains private.

Agents choose which tool to use from the name, description and guidance you provide, and from the instructions you publish for your service. The quality of that guidance has a direct effect on how accurately agents serve your customers, which makes the definition of each tool as important as the operation behind it.

Sources of tools

  1. Your own tools
    Operations from your API that you choose to make available. Mitu forwards each call to your API through your integration, and your API performs the work exactly as it does for your own applications. You can add them individually or import them from an OpenAPI document.
  2. Integrations
    Capabilities that Mitu has already built and operates on your behalf, such as Mitu Pay for collecting payment. They are added in a few steps and require nothing to be built or hosted. Integrations describes what is available.

Agents see tools from both sources together, as a single service.

How each tool is governed

Every tool carries its own controls, so you decide precisely how each operation can be used.

ControlWhat it determines
AccessWhether the tool is open to any agent or requires a signed in customer.
PricingWhether the tool is free or carries a fixed, dynamic or session price.
Rate limitHow many calls per minute the tool accepts before further requests are refused.
ReleaseWhether the tool is live, or held as a draft until you next publish. New tools start as drafts.
StatusWhether the tool is active, or paused or archived and therefore hidden from agents.

Designing an effective set of tools

  1. Start with what customers need most
    Begin with the operations your customers rely on most often, and extend the set as you see how agents use them.
  2. Keep each tool distinct
    If two tools could answer the same request, combine them or make the difference explicit in their descriptions, so agents never have to guess.
  3. Describe for the agent, not the developer
    Explain what each tool does, when it should be used and what must happen first, in language an agent can act on without knowledge of your systems.
  4. Protect what matters
    Require a signed in customer for any tool that reads or changes an account, and price the operations that carry a cost to deliver.

A focused, well described set of tools gives agents a clear and dependable way to work with your business. Your API continues to perform every operation and enforce every rule, while the tools you publish determine exactly which of those operations agents can reach, under what conditions and at what price.