{"schemaVersion":"healthsource.ai-tool-schemas.v1","generatedFrom":"https://healthsource.app/openapi.json","providers":["gemini","xai","grok","perplexity"],"gemini":{"provider":"gemini","functionDeclarations":[{"name":"healthsource_recovery_today","description":"Use this when the user asks whether to push training, moderate, reduce volume, or recover today based on authorized HealthSource/Oura recovery context. Endpoint: https://healthsource.app/api/v1/recovery/today","parameters":{"type":"OBJECT","additionalProperties":false,"properties":{"days":{"type":"INTEGER","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"name":"healthsource_get_body_context","description":"Use this in approved HealthSource integrations when the user needs source-cited body context for planning, coaching, recovery, productivity, or non-medical daily guidance. Endpoint: https://healthsource.app/api/v1/body-context","parameters":{"type":"OBJECT","additionalProperties":false,"properties":{"days":{"type":"INTEGER","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"name":"healthsource_get_analysis_packet","description":"Use this when the model needs the compact model-ready HealthSource analysis packet instead of a pre-written summary. Endpoint: https://healthsource.app/api/v1/analysis-packet","parameters":{"type":"OBJECT","additionalProperties":false,"properties":{"days":{"type":"INTEGER","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."},"include_prompt":{"type":"BOOLEAN","default":true,"description":"Whether to include a model-ready prompt with the packet."}}}},{"name":"healthsource_get_daily_brief","description":"Use this when the user wants HealthSource's morning Daily Brief as a concise, delivery-ready recovery and training-readiness read. Endpoint: https://healthsource.app/api/v1/daily-brief","parameters":{"type":"OBJECT","additionalProperties":false,"properties":{"days":{"type":"INTEGER","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}}]},"xai":{"provider":"xai","remoteMcp":{"type":"mcp","server_url":"https://healthsource.app/mcp/public","server_label":"healthsource","server_description":"Read-only HealthSource recovery and body-context tools for user-authorized Oura wellness, fitness, recovery, and training-readiness analysis.","allowed_tools":["healthsource_get_connection_status","oura_get_analysis_packet","oura_recovery_today","healthsource_get_body_context","oura_get_context_inventory"],"authorization":"Bearer <HealthSource user access token>"},"tools":[{"type":"function","name":"healthsource_recovery_today","description":"Use this when the user asks whether to push training, moderate, reduce volume, or recover today based on authorized HealthSource/Oura recovery context. Call https://healthsource.app/api/v1/recovery/today.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_body_context","description":"Use this in approved HealthSource integrations when the user needs source-cited body context for planning, coaching, recovery, productivity, or non-medical daily guidance. Call https://healthsource.app/api/v1/body-context.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_analysis_packet","description":"Use this when the model needs the compact model-ready HealthSource analysis packet instead of a pre-written summary. Call https://healthsource.app/api/v1/analysis-packet.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."},"include_prompt":{"type":"boolean","default":true,"description":"Whether to include a model-ready prompt with the packet."}}}},{"type":"function","name":"healthsource_get_daily_brief","description":"Use this when the user wants HealthSource's morning Daily Brief as a concise, delivery-ready recovery and training-readiness read. Call https://healthsource.app/api/v1/daily-brief.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}}]},"grok":{"provider":"xai","alias":"grok","remoteMcp":{"type":"mcp","server_url":"https://healthsource.app/mcp/public","server_label":"healthsource","server_description":"Read-only HealthSource recovery and body-context tools for user-authorized Oura wellness, fitness, recovery, and training-readiness analysis.","allowed_tools":["healthsource_get_connection_status","oura_get_analysis_packet","oura_recovery_today","healthsource_get_body_context","oura_get_context_inventory"],"authorization":"Bearer <HealthSource user access token>"},"tools":[{"type":"function","name":"healthsource_recovery_today","description":"Use this when the user asks whether to push training, moderate, reduce volume, or recover today based on authorized HealthSource/Oura recovery context. Call https://healthsource.app/api/v1/recovery/today.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_body_context","description":"Use this in approved HealthSource integrations when the user needs source-cited body context for planning, coaching, recovery, productivity, or non-medical daily guidance. Call https://healthsource.app/api/v1/body-context.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_analysis_packet","description":"Use this when the model needs the compact model-ready HealthSource analysis packet instead of a pre-written summary. Call https://healthsource.app/api/v1/analysis-packet.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."},"include_prompt":{"type":"boolean","default":true,"description":"Whether to include a model-ready prompt with the packet."}}}},{"type":"function","name":"healthsource_get_daily_brief","description":"Use this when the user wants HealthSource's morning Daily Brief as a concise, delivery-ready recovery and training-readiness read. Call https://healthsource.app/api/v1/daily-brief.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}}]},"perplexity":{"provider":"perplexity","tools":[{"type":"function","name":"healthsource_recovery_today","description":"Use this when the user asks whether to push training, moderate, reduce volume, or recover today based on authorized HealthSource/Oura recovery context. Call https://healthsource.app/api/v1/recovery/today.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_body_context","description":"Use this in approved HealthSource integrations when the user needs source-cited body context for planning, coaching, recovery, productivity, or non-medical daily guidance. Call https://healthsource.app/api/v1/body-context.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}},{"type":"function","name":"healthsource_get_analysis_packet","description":"Use this when the model needs the compact model-ready HealthSource analysis packet instead of a pre-written summary. Call https://healthsource.app/api/v1/analysis-packet.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."},"include_prompt":{"type":"boolean","default":true,"description":"Whether to include a model-ready prompt with the packet."}}}},{"type":"function","name":"healthsource_get_daily_brief","description":"Use this when the user wants HealthSource's morning Daily Brief as a concise, delivery-ready recovery and training-readiness read. Call https://healthsource.app/api/v1/daily-brief.","parameters":{"type":"object","additionalProperties":false,"properties":{"days":{"type":"integer","minimum":7,"maximum":120,"default":90,"description":"Lookback window in calendar days. HealthSource defaults to 90 days for 3/7/14/30/60/90 recovery windows."}}}}]}}