# Tools Library

> Create reusable HTTP API, call transfer, end call, message, Shopify order and catalog lookup tools once, then attach them to any agent

URL: https://docs.lemuai.com/tools-library/overview

**Tools** (Agent Setup → Tools) is your organization's library of reusable agent tools. A tool defined here can be attached to any [Agent Node](https://docs.lemuai.com/voice-agent/agent) in any voice agent, so you don't have to set it up again on every workflow that needs it. This is useful when several agents all need, say, to look up an order status against the same backend.

<img src="/images/tools-library-list.png" alt="Tools library list with a Send Distributor Ledger HTTP API tool" />

Each tool in the list shows its name, type and description, and can be removed with the delete icon. Click **New** to create one.

## Tool types

<img src="/images/tools-library-new.png" alt="New Tool dialog with the Type dropdown expanded" />

| Type | What it does |
|---|---|
| External HTTP API | Calls a REST endpoint you define. See [HTTP API](https://docs.lemuai.com/voice-agent/tools/http-api) for how the agent decides when and how to call it |
| End Call | Lets the agent end the call. See [End Call](https://docs.lemuai.com/voice-agent/tools/end-call) |
| Transfer Call | Lets the agent transfer to another phone number or SIP endpoint. See [Call Transfer](https://docs.lemuai.com/voice-agent/tools/call-transfer) |
| Send Message | Sends a WhatsApp message during a call. See [WhatsApp Messaging](https://docs.lemuai.com/messaging/whatsapp) |
| Shopify order action | Confirms, cancels, tags or looks up the Shopify order the call is about. **Setup required:** a connected Shopify store |
| Catalog lookup | Looks up a product or other catalog item during a call, by its key or by name. **Setup required:** at least one catalog |
| Native | Coming soon |

Every tool starts with a **Name** and **Description**. That is what the agent sees when deciding whether to use it, so write them the way you would for a node-level tool: action-focused and specific. The fields after that depend on the type. An HTTP API tool asks for the same method, URL, headers and parameters described in [HTTP API](https://docs.lemuai.com/voice-agent/tools/http-api), for example.

Some types fill in a starting name and description for you when you pick them. Change them to match how your agent should use the tool.

## Shopify order action

Use this tool to let the agent act on the order a call is about, for example confirming a cash on delivery order once the customer agrees to receive it.

- Pick the connected Shopify store and the action: confirm, cancel, tag, or look up the order.
- The order is the one the call was started for, usually from a Shopify event.
- Write the description so the agent only uses it at the right moment, for example "Confirm the customer's order only after they clearly agree to receive it."

Shopify refuses some actions, for example cancelling an order that has already shipped or been paid. The agent is told when that happens.

## Catalog lookup

Use this tool to let the agent answer questions like "Is the blue kurta in stock?" or "How much is the large size?" from your catalog.

| Field | What to enter |
|---|---|
| **Tool Name** | A short name, for example "Look up product" |
| **Catalog** | The catalog to look in. Shopify stores get a Products catalog automatically. If you have none yet, [create one](https://docs.lemuai.com/records/catalog) first |
| **When should the agent use it?** | When the agent should look something up, for example "when the customer asks about price, stock or details" |

The agent can look an item up by its exact key (such as a product id or SKU), or search by words when it doesn't know the key. A search returns up to 5 matches. Personal fields are never shown to the agent.

## Using a library tool on an agent

Tools aren't defined inline on a node. Every tool an [Agent Node](https://docs.lemuai.com/voice-agent/agent) can use is created here first, then picked by checkbox in the node's tool list. If your organization has no tools yet, the node's tool picker links back to this page. A node can have several tools, and the agent decides which one to use and when, based on the node's instructions and each tool's name and description (see [HTTP API](https://docs.lemuai.com/voice-agent/tools/http-api) for how that works).

Because a tool lives here rather than on any one workflow, editing it (its endpoint, description or parameters) updates every agent node it's attached to at once. Renaming or reconfiguring a shared tool affects every agent that uses it the next time it runs.
