add-tools

Configure Databricks agent access to external resources in databricks.yml.

183|146|Updated Jun 6, 2024
One-click install
npx skills add https://github.com/databricks/app-templates --skill add-tools-databricks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-tools
Source: https://github.com/databricks/app-templates/tree/main/agent-openai-agents-sdk/.claude/skills/add-tools
Command: npx skills add https://github.com/databricks/app-templates --skill add-tools-databricks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill helps you integrate your Databricks agent with various Databricks resources like MCP servers, Genie spaces, vector search indexes, and Unity Catalog functions, ensuring your agent has the necessary permissions to interact with them.

Core Features & Use Cases

  • Resource Integration: Seamlessly add and configure access for MCP servers, Genie spaces, vector search, and UC functions within your agent.
  • Permission Management: Automatically grants the required permissions in databricks.yml to avoid runtime errors.
  • Use Case: When building a conversational agent that needs to query data using a Genie space or perform RAG with a vector search index, this skill ensures the agent is properly configured and authorized to use these resources.

Quick Start

Use the add-tools skill to grant your agent permission to use the 'my_genie_space' Genie space by updating your databricks.yml file.

Frequently Asked Questions about add-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I grant Databricks agent permissions to access external resources?

To grant Databricks agent permissions, define and configure resource access rules in the databricks.yml file. This ensures the agent is authorized to interact with specified resources during runtime operations.

Can I connect my Databricks agent to a Genie space for data querying?

Yes, you can connect your Databricks agent to a Genie space. The add-tools configuration updates databricks.yml to grant the necessary permissions for querying data using Genie spaces.

How do I configure Unity Catalog functions for a Databricks agent?

Configuring Unity Catalog functions for an agent involves defining the access permissions within databricks.yml. This grants the agent authorization to execute specified Unity Catalog functions.

What Databricks resources can I integrate with my agent using databricks.yml?

You can integrate agents with MCP servers, Genie spaces, vector search indexes, Unity Catalog functions, SQL warehouses, and model serving endpoints by defining permissions in databricks.yml.

Why does my Databricks agent fail to access a vector search index?

Agent access failures to vector search indexes often occur when permissions are missing. You must explicitly grant access rights in the databricks.yml configuration file to avoid runtime errors.

Do I need to manually set permissions for MCP servers in Databricks?

You must define permissions for MCP servers in databricks.yml to ensure proper authorization. This configuration step is required for the agent to interact with the MCP server resources.