# Connection Tool Provider

Selects configured **tool groups whose tools run through a workspace connection** for an AI Agent
or AI Conversation: Gmail, Linear, Notion, GitHub, Firecrawl, Tavily search, and any other
registered Workflow group whose configuration selects a connection. Connect `output` to the AI
node's `tools` input. The provider packages tools; it does not invoke their operations.

## Configuration

`tools` is a `ToolSelectionConfig`, the same shape as **Tool Provider**: an array of
`{ "group": "...", "config": { ... } }` selections, each with optional entry-level `enabled` and
`name`. Each group's `config` names its connection by id (`connection`) and switches on only the
operations the agent needs. An empty array provides no tools.

```json
{
  "connection_tool_provider": {
    "tools": [
      {
        "group": "tavily_search",
        "config": {
          "connection": "<tavily connection id>"
        }
      }
    ]
  }
}
```

The picker offers the registered Workflow groups whose configuration selects a connection; the
generic **Tool Provider** offers the rest. A connection that is missing, of the wrong kind, or lacks
the access a group needs fails validation on `tools`.

Every emitted tool is named after its connection's handle (`<handle>__<tool>`), so two accounts of
one provider give distinct tool names.

## Output and Wiring

`output` carries the materialized array of externally tagged configured tools, exactly as Tool
Provider emits it. Connect a trigger or preceding node to `input` so it executes, then connect
`output` to the AI node's `tools`. Use **Flatten** to combine several tool sources.
