List Models
list_models · Tools · Workflows
List configured AI connections and models
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
connection_id | string | No | AI connection ULID. Specify this to return only that connection and its filtered models. |
kind | "llm" | "embedding" | "image_generator" | "speech_generator" | "sfx_generator" | "transcription" | No | Optional model kind filter. Use llm for AI generation nodes, embedding for embedding/memory nodes, the generator kinds for media nodes, and transcription for speech-to-text nodes. |
List Models Tool#
Lists the AI connections a workspace has configured and the models each one can reach, newest first, with context window, price, and what each model can do.
When to Use#
The AI uses this tool before configuring any node that takes a model — AI generation, agent, embedding, memory, or media nodes. A model is addressed by a pair, and neither half can be guessed: the connection ID is a workspace ULID, and the model ID is local to that connection's provider. The same model reached through two connections has two different IDs — gpt-5.5 on an OpenAI connection is openai/gpt-5.5 on an OpenRouter one — so a model ID copied from elsewhere, or remembered from training, is a configuration error waiting to happen.
Call it again when a node fails with an unknown-model or unavailable-model error. The catalog is refreshed while the process runs, so a model that was absent an hour ago may be present now.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
connection_id |
string | No | A connection ULID. Returns only that connection and its models. |
kind |
string | No | One of llm, embedding, image_generator, speech_generator, sfx_generator. Filters to models of that kind. |
Omitting both returns every connection and every model.
Returns#
| Field | Type | Description |
|---|---|---|
success |
boolean | Always true; a failure is returned as an error |
connections |
array | One entry per connection that reaches at least one matching model, plus any whose server did not answer |
model_count |
number | Total models across all returned connections |
description |
string | How to use the payload, including the model-object shape |
Each entry carries connection (the connection's id, handle, name, provider, account, and status (expired when the sign-in was refused on its last use; absent otherwise); id is the connection_id a model object names), recommended_default_model_id, and models. unreachable is present and true when the connection could not be asked what it serves.
Each model carries:
| Field | Type | Description |
|---|---|---|
model_id |
string | The ID to send back, local to this connection's provider |
kind |
string | llm, embedding, or a generator kind |
display_name |
string | Human-readable name |
released |
string | Release date, YYYY-MM-DD, when the vendor publishes one |
context_window |
number | Tokens the model accepts; absent for models that have none |
max_output_tokens |
number | Output cap, where the vendor states one |
billing |
object | kind is metered (with input/output in US dollars per million tokens, plus cache rates where they differ), unmetered, or unpriced |
abilities |
object | tools, vision, structured_output, native_structured_output, prompt_cache, reasoning, reasoning_levels, streaming |
voices |
array | Speech models only |
Choosing a Model#
abilities is the part that decides whether a configuration will work at all:
toolsmust betruefor an agent node, or the node will have no way to act.visionmust betrueto send images or PDFs.structured_outputmust betrueto hold the model to a JSON schema.native_structured_outputmust betrueto give a node both tools and a schema. When it isfalsethe schema is emulated with a forced tool call, and supplying tools as well is refused.reasoning_levelslists the effort settings the model accepts. Empty means effort is not adjustable — which is different from the model not reasoning.
billing decides the rest. metered carries input and output rates; prefer the cheapest model that clears the task, because classification, extraction, routing and summarisation are answered as well by a mini, nano, flash or Haiku tier as by a flagship, and a workflow that runs on every incoming email will feel the difference. Reach for the large models when the task needs judgement, long context, or multi-step tool use.
unmetered means the route has no per-token price — a plan-covered connection, a caller-supplied runtime, a rate-limited free tier. It does not mean free, and it does not mean the price is unknown; there is no rate to compare, so choose on capability and speed instead. unpriced means the route meters but publishes no rate.
When nothing about the task argues either way, recommended_default_model_id is the connection's sensible starting point.
Example Scenario#
Building a workflow that triages incoming email, the AI calls list_models with kind: "llm". The workspace has one Anthropic connection. The AI sees claude-haiku-4-5 billed at $1.00 / $5.00 per million tokens with abilities.tools true, and the flagship at $10.00 / $50.00. Triage is a yes-or-no question, so it configures the node with:
{ "model": { "connection_id": "01HX6E5V9K7W3QY2S4T6R8N0AB", "model_id": "claude-haiku-4-5" } }
Notes#
- Models are listed newest first, per connection.
- Connections whose provider has no catalog, or that reach no model of the requested
kind, are omitted rather than returned empty. - A connection with
"unreachable": truecould not be asked what it serves: its own server did not answer, or its credential did not resolve. Its models are unknown, not absent — it is listed with an emptymodelsso the difference is visible, and asking again once it is reachable will return them. - Some providers answer for themselves rather than from the catalog: an Ollama connection reports the models that server actually has, so its list reflects what its owner pulled and nothing else.
- For
kind: "llm", models that cannot stream are omitted: every LLM surface streams, so such a model would fail the moment it was chosen. recommended_default_model_idis only present when this connection can actually reach that model.billing.kindisunmeteredwhen no unit price applies andunpricedwhen a metered route publishes none. Neither means free.- The tool reports what the catalog knows, not whether the connection's credentials still work.