> Index of every Falcon docs page, for assistants: https://falcon.com/docs/llms.txt

# Add a tool

A tool is an action an agent may take. Add one in four steps from an app, an MCP server, an API or your AWS account, or write a short script.

A tool lets an agent do something outside a conversation: send an email, read a calendar, look up an order. An agent uses only the tools on its own **Tools** page (`/agents/:agent/tools`), which lists what the agent can do: each tool, whether it asks first, and **Remove**. The company's tools are on **Tools** (`/tools`).

## Ready-made tools

Built-in tools such as identity, files, messaging, the agenda, GitHub and browsing sit under **Always available** on the agent's Tools page. Published company tools the agent doesn't have yet are behind **Add one of the company's tools**.

## Every tool a connection offers

- **Tools** (`/tools`) lists your company's own tools under **Your tools**, then, under **From connections**, every tool each connected app and MCP server offers, whether or not an agent uses it yet. Each row says what it does, whether it **Only reads** or **Changes something**, and what uses it.
- A large app starts folded, with its own search, and shows its tools a page at a time with **Show more**. **Find a tool** and **Category** reach every connection.
- These tools are read-only: they can't be edited, filed or removed here, and they go away only when the connection is disconnected. A connection made with people's own accounts is listed once, as **personal accounts**, and never says who connected.
- On an agent's **Tools** page, every tool of every connection is offered under its connection. Ticking one nobody has used before gets it ready first, then saves it on the agent with the same checks as any other tool.

## Add a tool in four steps

On **Tools**, choose **New tool** (`/tools/new`), or press **+ Add** on an agent's Tools page so the new tool comes back to that agent. The steps are **Choose**, **Pick**, **Tick** and **Review**.

- **Choose**: **Use a connection** (an app, an MCP server, an API or your AWS account) or **Run a script**.
- **Pick a connection**: search apps, servers and APIs. Each says **Connected** or **Connect**; connecting an app brings you back here. At the end of the list, **Add an MCP server** opens **Connections › Apps** (`/connections/apps`), and **Connect an API** adds an API.
- **Tick** what the agent may do. Each action shows what it takes and whether it changes or sends something.
- **Review and save**: for each action, choose **Before it runs**: **Ask me first** or **Just do it**. Actions that only read just run. You can hide an input from the agent or always use a fixed value. If the app has several connected accounts, choose which one the tool runs as.

## Connect an API

- Give the API a name and its base URL, and how it signs in: **Nothing**, **API key header** or **Bearer token**. The key is kept encrypted and never shown again.
- Add its methods one by one with **Add a method**, or **Import** them from an OpenAPI address, an OpenAPI file (up to 256 KB) or a curl command, which is read and never run.
- **Save and continue** returns to Add a tool, where each ticked method becomes a tool. Asks first is off unless switched on for each method.

## Run a script

- **Write**: a name, one line on what it does, and the script in **TypeScript** or **Python**. It gets its input as JSON and prints one JSON value as its result. It runs once per call in its own sandbox and keeps nothing.
- **Inputs**: read from the script, and changeable. Paste an example result so the agent knows its shape. Choose what it **May reach**: **Nothing outside**, or **These hosts only**.
- **Review**: **Asks first** is off unless switched on, including scripts that reach hosts.

## Your AWS account

Companies whose agents run in their own AWS account also see **Your AWS account**. A System admin chooses **Show setup**, downloads the template, creates a stack from it with the external ID, and tags each function to offer `agent-tool=true`. The functions are then listed with their declared inputs; Asks first is off unless switched on.

## After you save

- For a System admin who approves their own changes, Save publishes the tools and puts them on the agent at once.
- Anyone else's tools are saved as drafts and show on the agent's Tools page as **Waiting for review** until someone who may approve them publishes them.
- Tools from a connection run only where this Studio has them switched on. Where it hasn't, Save keeps them as drafts and says **Ready when tools from connections are switched on here.** A script tool publishes only where scripts are set up; elsewhere publishing says it can't run here yet.

## Not ready yet

- **Only drafts**, as a choice for Before it runs, still asks first for now.
- A change to an API's key or base URL reaches its tools the next time each tool is published.

Ask Studio can tell you which tools your company and each agent have today.

## Related

- [Connect an app](https://falcon.com/docs/connect-an-app)
- [Build an agent](https://falcon.com/docs/build-an-agent)
- [Where everything is](https://falcon.com/docs/studio-map)
