# Options · bridges

Canonical URL: https://developers.iagenify.com/sdk/ref/agents/options/bridges/
Language: en

`files · shell · terminals · customTools`

Four objects that give the engine what it does not have: a workspace that is not a disk, a shell elsewhere, long-lived terminals, and tools of your own.

Status: plain objects · validated at creation · they shape the tool list

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `files` | object |  | `{ list, read, write, mkdir, move, remove }` — all six required. |
| `shell` | object |  | `{ run(command, { timeoutMs, signal }) }` returning `{ stdout, stderr, exitCode }`. |
| `terminals` | object |  | `{ list, get, create, remove }`, each terminal with `run`, `output`, `kill`. |
| `customTools` | object |  | `{ name: { description, parameters, category, run } }`. |

## When files is required {#required-when}

| machine | files |
| --- | --- |
| A computer | optional — the machine's own workspace is used |
| A phone | **required** |
| A cloud workspace | **required** |

A bridge missing an operation is refused at creation with `files_required`, naming what is absent — half a file system fails at the moment a tool needs the missing piece, which is the worst time to find out.

## The tool list follows them {#tools-follow}

- No `shell` on a phone or a cloud workspace → no `bash`.
- A phone → no `terminal`, ever.
- A cloud workspace → `terminal` only with `terminals`.
- Supplied `terminals` override the machine's own, wherever you are.

> **A tool that cannot run is not declared**
>
> Rather than offering bash and failing, the engine leaves it out, and the system prompt loses its instructions with it.

## Custom tools are permissioned like the rest {#custom}

They take one of four categories — `read`, `write`, `storage`, `exec` — and `write` by default. The three always-asked categories are not available to them, so anything that sends, publishes or spends belongs in your own code.

## They cost tokens too {#cost}

Each custom tool is a declaration on every turn. Declare what this run may actually call, not everything your application can do.

- [Bridges](/sdk/agent/bridges): Each one in detail.
- [customTools](/sdk/agent/bridges/custom-tools): Writing one.
- [tools and library](/sdk/ref/agents/options/tools): The built-in set alongside.
