Connect a source
helix_foundry_connectConnect a source to a workspace, or sign a connector in again: returns a link to Foundry for the user to open in their browser, so credentials never pass through the agent. A kind whose sign_in is true (helix_foundry_list_connector_kinds) connects by signing in at its provider: follow the result's sign_in_id with helix_foundry_get_sign_in. Any other kind, or with_key, opens the kind's form, where the user enters its credentials; then helix_foundry_list_connectors lists the new connector.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "helix_foundry_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The connector's kind: stripe, workos, posthog, github, linear, calcom, granola, slack, notion, google, databuddy, attio, postgres, mysql, s3 or events (an API source). | |
| name | No | A new connector's name when it signs in; the kind's display name when empty. Not with connector_id. | |
| repos | No | A new GitHub connector's repositories when it signs in, as owner/name. None reads the repositories of the Helix Foundry GitHub App's installations the user can reach. Not with connector_id. | |
| with_key | No | Open the kind's form to enter a key instead of signing in: for PostHog EU Cloud or a self-hosted PostHog, or when the user asks to use a key. | |
| project_id | No | A new PostHog connector's project id when it signs in, a number from its project settings; empty takes the account's one project. Not with connector_id. | |
| client_token | No | Up to 64 characters; a retry with the same token returns the sign-in the first call started. | |
| connector_id | No | Sign this connector in again instead of making one: one whose account needs signing in (helix_foundry_list_connectors). It keeps its name and settings. | |
| workspace_id | No | Helix workspace identifier. May be empty when the caller has only one workspace (a service key always does). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| kind | Yes | ||
| next | Yes | ||
| available | Yes | ||
| expires_at | No | ||
| sign_in_id | No | ||
| display_name | Yes |