Contents

List Connections

list_connections · Tools · Connections

List connections by ULID `id`; use the returned `id` for node/tool connection fields

Parameters

NameTypeRequiredDescription
provider_namestringNoOptional exact provider_name filter. Prefer an unfiltered call first for discovery. Examples: 'anthropic', 'openai', 'discord_bot', 'discord_webhook', 'telegram_bot', 'alpaca', 'polygon'.

List Connections Tool#

Lists the workspace's connections — API keys, sign-ins and connected apps — as an agent may see them: identity and the expired hint, never credentials or settings.

When to Use#

The AI uses this tool before setting a node's or tool group's connection field, to find the connection's id, and before asking the user to connect something, to see whether an account is already connected. A connection whose status is expired was refused by its service the last time it was used; the AI can tell the user that is likely why calls on it fail, and that they can sign in again from the connection's form in Settings → Connections. It is a hint, not a reason to skip the connection: every use tries the current sign-in, and a use that works clears it.

Parameters#

Parameter Type Required Description
provider_name string No Exact provider key to filter by, such as anthropic, discord_bot or mcp. An unknown key returns the unfiltered list. Call unfiltered first for discovery

Returns#

Field Type Description
connections array Every connection in the workspace, or those of provider_name
connections[].id string Connection ULID; the value node and tool connection fields take
connections[].handle string Workspace-unique handle; prefixes the names of the connection's tools
connections[].name string Display name; never a reference
connections[].provider string Provider key, e.g. google, telegram_bot, mcp
connections[].account string | null The account the connection signs in as, when the provider names one
connections[].status string, absent expired when the service refused the sign-in on its last use; absent otherwise
count number Number of connections returned

Example Scenario#

A user asks why their morning workflow failed to file Linear issues. The AI calls this tool, finds the mcp connection named "Linear" with status expired, and tells the user that Linear refused the connection's sign-in on its last use and that they can sign in again from the connection in Settings → Connections.

Notes#

  • Credential kind, properties, scopes and timestamps are deliberately left out
  • Apps the user could connect but has not are listed by ListMcpAppsTool
  • Read-only