Connect health source
connect_sourceConnect a wearable, ring, CGM, training platform, gym log, Apple Health, or Health Connect. Returns an interactive source picker plus a complete text fallback. OAuth approval and credentials always happen on freddy or the provider, never inside chat. When a health question triggered this tool, pass original_question so the card can restore it after the first sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Provider slug of the source to connect (uppercase enum, e.g. 'GARMIN'; lowercase + dashes like 'intervals-icu' also accepted). OAuth sources return an authorization URL to open; API-key and phone sources return instructions to finish on the freddy dashboard or app. An unknown slug returns the full list of connectable sources. | |
| original_question | No | When this connection interrupted a health-data question, pass the user's exact original question so the private connection card can restore it after first sync. Omit for a standalone connect request. This field deliberately has no schema maximum: questions over 2,000 characters are ignored so an oversized question never blocks the connection itself. The question is never written to analytics or logs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| providers | Yes | ||
| connection | Yes | ||
| sourceLimit | Yes | ||
| resumeAvailable | Yes | ||
| selectedProvider | Yes |