> ## Documentation Index
> Fetch the complete documentation index at: https://docs.budecosystem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tools and connectors

> Give an agent native tools, ready-made connectors, your own MCP servers and tools generated from an API.

Everything in this chapter starts in the agent builder, on an agent that has been saved at least once. The builder header has **Tools**, **Skills**, **Agents** and **Governance** icons. The **Tools** panel has four tabs: **Connections**, **Native Tools**, **Triggers** and **Channels**.

![Tools → Connections in the agent builder. Pick a connection on the left, then choose which of its tools the agent may use.](https://mintcdn.com/budecosystem-b7b14df4/tm7AvlRzpE_EcnqL/images/product-guide/agent-tools.jpg?fit=max\&auto=format\&n=tm7AvlRzpE_EcnqL\&q=85\&s=4e3bc078a8d1fc243e63109d3ec2ed5a)

Tools → Connections in the agent builder. Pick a connection on the left, then choose which of its tools the agent may use.

## How tools reach an agent

A tool is something the agent can call during a run: search the web, run code, read a GitHub issue, call another agent. Tools are attached to an **agent version**. When you create a new version it starts with the tools of the version it was copied from, and you can change them without touching older versions.

| Kind | Where you add it | What it is |
| - | - | - |
| **Native tool** | **Tools** → **Native Tools** | Built into the platform: web search, web fetch, code interpreter, task planner, await completion. |
| **Connector** | **Tools** → **Connections** → **+ Add** → **MCP Server** | A ready-made integration from the registry (GitHub, Slack, Linear and so on), or your own MCP server. |
| **API tools** | **Connections** → **+ Add** → **API** | Tools generated from an OpenAPI specification or API documentation. |
| **Skill** | **Skills** icon | A packaged set of instructions, scripts and files the agent reads when relevant. |
| **Sub-agent** | **Agents** icon | Another agent, on the platform or an external A2A agent, that the agent can hand work to. |

Tools run with the permissions of the connection that backs them. A connector authorised with a personal token acts as that person. Prefer a service account with the narrowest scope that works.

## Add a native tool

**Where:** Agent builder → Tools → Native Tools

1. Open **Tools** → **Native Tools**. Tools you have not added are under **Tool List**; those you have are under **Connected Tools**. Use the search box to filter.
2. Click a tool, set its options and click **Connect**. It moves to **Connected Tools**.
3. To change a connected tool, open it, edit the options and click **Save**. **Disconnect** removes it.

| Tool | Options | Rules and defaults |
| - | - | - |
| **Web Search** | Maximum number of results. | Optional. Empty returns the first batch of results only. |
| **Web Fetch** | Fetches a web page and returns it as markdown. Options: Max content length, Allow local urls, Timeout, Allowed domains, Blocked domains, Headers. | Max content length defaults to 50,000 characters (about 12,500 tokens); empty means unlimited. Timeout defaults to 30 seconds. Domains are matched on the exact hostname: an allow list refuses any URL not on it, a block list refuses any URL on it. Headers are sent with every request. Built-in protection stops the agent fetching private and local addresses; **Allow local urls** (off by default) turns that protection off. |
| **Code Interpreter *(Optional)*** | A sandbox where the agent runs Python and JavaScript and shell commands. Options below. | Each agent version has its own isolated sandbox, started when first needed. Both languages are always available. |
| **Task Planner** | No options. | Lets the agent break multi-step work into dependent tasks, track progress and pick up later. Needs the Code Interpreter. The panel shows the exact instructions added after your system prompt, read-only. |
| **Await Completion** | The longest the agent may wait for work it started. | Default 6 hours (the platform maximum; a larger value is clamped). The agent names a status tool and a condition; the platform then polls without a model in the loop and resumes the run when the work reaches a final state. |

### Code Interpreter options

| Option | What to choose | Rules and defaults |
| - | - | - |
| **Runtime** | Shows Python and JavaScript. | Read-only. |
| **Sandbox size** | **Small** (2 vCPU, 2 GB; scripting, light pandas, plotting), **Medium** (4 vCPU, 8 GB), **Large** (4 vCPU, 16 GB), or **Custom** (pick 2 or 4 vCPU and 2, 4, 8 or 16 GB). | Default 2 vCPU, 2 GB. Applies to every run of this version. |
| **Lifecycle** | **Expire after idle time**: enter an **Idle timeout** in seconds, or pick 5 min, 20 min, 1 hr or 4 hr. **Never expire**: the container stays warm. | Default 1,200 seconds. Minimum 300. When a container expires, its files and installed packages are discarded. A container that never expires keeps billing until you disconnect the tool. |
| **Network policy** | **Disabled** (recommended): no outbound access, so `pip install` and downloads fail. **Filtered**: only hosts you allow. **Open** (elevated risk): any host. | Default Disabled. Filtered takes allow and deny lists of IP addresses, CIDR ranges, domain names and wildcard domains such as `*.example.com`. Allow takes precedence over deny. Both can use `ALL_TRAFFIC`; a deny of `ALL_TRAFFIC` with an allow list makes a strict allow list. |

> [!WARNING]
>
> Model-written code runs in the sandbox. Keep **Network policy** on **Disabled** unless the agent needs the network, and prefer **Filtered** to **Open**.

## Connect a ready-made connector

**Who:** Model manage permission on the agent's project

**Where:** Agent builder → Tools → Connections → + Add

1. Choose **MCP Server** on **Select connection type**. Then, on **Select an MCP source**, search the connectors, pick one, and click **Configure Connector**.
2. Enter a **Name** for the connection and the credentials it asks for under **Enter Credential Details**. Each connector shows its own fields.
3. Click **Connect**. OAuth connectors send you to the provider to approve access, then back to Bud.
4. Back on **Connections**, expand the connection, tick the tools this agent needs (or **Select all tools**), and click **Add to agent**.

* **Add to agent** replaces the connection's tool list for this agent with exactly what is ticked. Tick the full set you want each time.
* **Remove** detaches the connection from this agent only. The connection itself stays under **Connectors** and other agents keep using it.

> [!TIP]
>
> Give an agent only the tools it needs. Fewer tools means better tool choice, smaller prompts and less risk.

![The connector registry. Each connector shows how it authenticates; click Configure to connect it.](https://mintcdn.com/budecosystem-b7b14df4/tm7AvlRzpE_EcnqL/images/product-guide/connectors.jpg?fit=max\&auto=format\&n=tm7AvlRzpE_EcnqL\&q=85\&s=674bfb5b4ff0f9fb105ea1b174bb9dab)

The connector registry. Each connector shows how it authenticates; click Configure to connect it.

## Connect your own MCP server

In the same drawer choose **MCP Server** → **Custom MCP server** → **Connect MCP**.

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Name** | A friendly name, for example `My MCP Server`. | Required. |
| **URL** | The full address including its path, for example `https://mcp.example.com/mcp` or `.../sse`. | Required. |
| **Description** | What the server is for. | Optional. |
| **Transport** | **Auto-detect**, **STREAMABLEHTTP** or **SSE**. | Defaults to auto-detect. Choose explicitly if detection fails. |
| **Auth Type** | **None**, **Headers** or **OAuth**. | Defaults to None. Headers asks for the header names and values to send. For OAuth, the client ID and client secret are optional. |

Click **Connect**, then select the tools as above.

> [!TIP]
>
> The server must be reachable from the Bud platform, not just from your laptop. If **Connect** fails, check the URL path and try the other transport.

## Generate tools from an API

**Who:** Model manage permission

**Where:** Agent builder → Tools → Connections → + Add → API

1. Choose **API** on **Select connection type**, then a source on **Select a source**: **OpenAPI URL** (a link to a spec file, or a docs page that links to one) or **OpenAPI file** (JSON or YAML, up to 20 MB). Where your installation enables it you can also choose **API docs URL** (the platform crawls a documentation site) or **API docs file** (HTML, Markdown, text or PDF, up to 50 MB).
2. Fill in the details below.
3. Choose the API's authentication.
4. Click **Generate tools**. The platform reads the specification in the background. Review the list, untick anything the agent should not have, and click **Add N tools**.

| Field | What to enter | Rules and defaults |
| - | - | - |
| **Name** | For example `Orders API`. It prefixes the tool names. | Required. |
| **Spec URL / Documentation URL** | Where to read the API from, for example `https://api.example.com/openapi.json`. | Required for URL sources. Must be publicly reachable: private and internal addresses are rejected. |
| **Base URL (optional)** | The address calls are sent to, for example `https://api.example.com/v1`. | Overrides the server URL in the spec. Leave blank to use the spec's own. |
| **Description** | A short note about the API. | Optional. |
| **Auth type** | **None**; **Bearer token** (Token); **Basic auth** (Username, Password); **API key header** (Header name such as `X-API-Key`, Header value). | Credentials apply to every generated tool. If you skip them now, you cannot add them later; generate again. |

Each generated tool is labelled with its HTTP method (GET, POST, DELETE and so on) so you can see which ones change data. Untick write and delete tools if the agent only needs to read.

> [!NOTE]
>
> Connections can also be managed outside any agent, under **Connectors**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.