# list_models

> The AirBuild MCP tool that lists the AI models an Agent can run on, for hire_agent and update_agent.

Source: https://air.build/docs/mcp-tools/list_models/

`list_models` lists the AI models an Agent can run on. Pass a model's `model` id to [hire_agent](https://air.build/docs/mcp-tools/hire_agent/) or [update_agent](https://air.build/docs/mcp-tools/update_agent/). The list is the same for everyone, so it takes no inputs. It changes nothing.

The list comes in two parts. First the models AirBuild runs for you. Then the models that run on an AI key or subscription of your own: their ids start with `byok:`, and an Agent set to one runs on the key or subscription the Team's owner connected in AirBuild (see [Use your own AI key or subscription](https://air.build/docs/team/use-your-own-ai-key/)).

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| Yes | No | Yes |

## Inputs

No inputs.

## Result

| Field | What |
| --- | --- |
| `models` | The models, in the order the app shows them |
| `models[].model` | The model's id: pass it as `model` to [hire_agent](https://air.build/docs/mcp-tools/hire_agent/) or [update_agent](https://air.build/docs/mcp-tools/update_agent/). An id starting with `byok:` runs on your own key or subscription |
| `models[].name` | The name the app shows |
| `models[].provider` | Who provides it, as the catalog names it. For a `byok:` model, `byok:` and the kind of account it signs in to |
| `models[].description` | A short description; empty for `byok:` models |

```json
{
  "models": [
    { "model": "<model id>", "name": "<model name>", "provider": "<provider>", "description": "<what it is good at>" },
    { "model": "byok:<account>/<model id>", "name": "<model name>", "provider": "byok:<account>", "description": "" }
  ]
}
```

## Errors

This tool has no errors of its own. The errors every tool can return are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

## Example

```json
{"name": "list_models", "arguments": {}}
```
