🚀Community Support Request: External API Integration in Databricks One / Genie Chat
🎯Objective
I am trying to integrate external real-time data (via API) into Databricks One / Genie chat so that chat responses can combine:
🧠 Goal
Enable a workflow like:
User query → Chat → (Internal data + External API call) → Unified response
🏗️ What I Have Built So Far (Reproducible Setup)
1. External API Connection (HTTP)
Created a connection with the following details:
Name: youcom
Host: https://api.you.com
Base path: /v1
Authentication: Bearer token
MCP: Tested both enabled and disabled
2. Unity Catalog Function (API Wrapper)
Created a Unity Catalog function that calls the API using http_request.
Function details:
Permissions granted:
Validation:
The function works correctly when executed manually using a SQL query and returns expected API results.
3. Genie Space Setup
Created a Genie Space:
Added:
Observation:
4. Custom Agent (Tool Calling)
Built a custom agent using:
The tool function calls the You.com API using the same connection.
System prompt explicitly enforces:
“Always use the search_web_research function for every user query”
5. Model Serving Endpoint
Deployed the agent as a serving endpoint:
Tags used:
⚠️Challenges / Observations
Despite all the above configurations:
No external API calls are triggered in Databricks One / Genie chat
Unity Catalog function is not executed
Agent endpoint is not invoked
Chat only uses internal tables or LLM knowledge
🎯Expected Behavior
When asking a question like:
“What are the latest AI trends in 2026?”
Expected behavior:
❌Actual Behavior
External API is never called
Function and agent are ignored
Only internal data or model knowledge is used
❓Questions
Are Unity Catalog functions in Genie spaces only referenceable, or can they actually be executed by chat?
Is there any way to force function invocation from Genie or Databricks One chat?
Is MCP required for external API usage in chat workflows?
Is MCP currently supported in Databricks One or Genie spaces?
Can a Model Serving endpoint (agent) be registered as a callable tool in Databricks One chat?
Do tags like “discoverable: databricks_one” have any functional impact, or are they only informational?
Does Databricks currently support external API or tool calling in chat workflows?
🧠 Hypothesis
Based on all testing so far, it appears that:
Databricks One / Genie chat may not yet support dynamic tool or external API invocation, and is currently limited to internal data sources.
Would appreciate confirmation or correction.
🙏Request
If anyone has:
Successfully integrated external APIs into Databricks chat
Enabled tool or function calling
Or found a working workaround
Please share guidance, configuration steps, or examples.
💬Happy to Collaborate
I’m happy to share full code, test suggestions, and iterate further with the community.
🙌Thanks in advance!