Skip to main content

tools

Creates, updates, deletes, gets or lists a tools resource.

Overview

Nametools
TypeResource
Iddatabricks_workspace.supervisoragents.tools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringDeprecated: Use tool_id instead.
namestringFull resource name: supervisor-agents/{supervisor_agent_id}/tools/{tool_id}
tool_idstringUser specified id of the Tool.
appobjectDatabricks app. Supported app: custom mcp, custom agent.
catalogobjectConfiguration for a UC catalog asset_search scope tool.
dashboardobjectLakeview dashboard tool. Replaces the deprecated ``lakeview_dashboard`` field.
descriptionstringDescription of what this tool does (user-facing).
genie_spaceobject
knowledge_assistantobject
lakeview_dashboardobjectDeprecated: use ``dashboard`` instead.
schemaobjectConfiguration for a UC schema asset_search scope tool.
serving_endpointobject
skillobjectSkill tool. Points to a folder containing skill subdirectories with SKILL.md files. Skills are discovered from the folder at runtime and loaded on demand via a read_skill tool.
supervisor_agentobjectNested Supervisor Agent tool.
tableobjectUnity Catalog table tool. Replaces the deprecated ``uc_table`` field.
tool_typestring
uc_connectionobjectDatabricks UC connection. Supported connection: external mcp server.
uc_functionobject
uc_mcpobjectUC-registered MCP service tool. The ``name`` field on UcMcpService is the three-level UC FQN (catalog.schema.mcp_service); the supervisor resolves it at request build time, calls ``tools/list`` against the AI Gateway mcp-services proxy, and dynamically registers every discovered MCP sub-tool as a separately-callable tool.
uc_tableobjectDeprecated: use ``table`` instead.
vector_search_indexobjectConfiguration for a Vector Search index tool.
volumeobject
web_searchobjectConfiguration for a public-web search tool. The supervisor collapses multiple web_search tools on the same agent into a single registered ``web_search`` tool at runtime.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectparent, deployment_namepage_size, page_tokenLists Tools under a Supervisor Agent.
getselectname, deployment_nameGets a Tool.
createinsertparent, tool_id, deployment_name, toolCreates a Tool under a Supervisor Agent. Specify one of "genie_space", "knowledge_assistant",
updateupdatename, update_mask, deployment_name, toolUpdates a Tool. Only the description field can be updated. To change immutable fields such as tool
deletedeletename, deployment_nameDeletes a Tool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)
namestringThe resource name of the Tool. Format: supervisor-agents/{supervisor_agent_id}/tools/{tool_id}
parentstringParent resource where this tool will be created. Format: supervisor-agents/{supervisor_agent_id}
tool_idstringThe ID to use for the tool, which will become the final component of the tool's resource name.
update_maskobjectField mask for fields to be updated.
page_sizeinteger
page_tokenstring

SELECT examples

Lists Tools under a Supervisor Agent.

SELECT
id,
name,
tool_id,
app,
catalog,
dashboard,
description,
genie_space,
knowledge_assistant,
lakeview_dashboard,
schema,
serving_endpoint,
skill,
supervisor_agent,
table,
tool_type,
uc_connection,
uc_function,
uc_mcp,
uc_table,
vector_search_index,
volume,
web_search
FROM databricks_workspace.supervisoragents.tools
WHERE parent = '{{ parent }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
AND page_size = '{{ page_size }}'
AND page_token = '{{ page_token }}'
;

INSERT examples

Creates a Tool under a Supervisor Agent. Specify one of "genie_space", "knowledge_assistant",

INSERT INTO databricks_workspace.supervisoragents.tools (
tool,
parent,
tool_id,
deployment_name
)
SELECT
'{{ tool }}' /* required */,
'{{ parent }}',
'{{ tool_id }}',
'{{ deployment_name }}'
RETURNING
id,
name,
tool_id,
app,
catalog,
dashboard,
description,
genie_space,
knowledge_assistant,
lakeview_dashboard,
schema,
serving_endpoint,
skill,
supervisor_agent,
table,
tool_type,
uc_connection,
uc_function,
uc_mcp,
uc_table,
vector_search_index,
volume,
web_search
;

UPDATE examples

Updates a Tool. Only the description field can be updated. To change immutable fields such as tool

UPDATE databricks_workspace.supervisoragents.tools
SET
tool = '{{ tool }}'
WHERE
name = '{{ name }}' --required
AND update_mask = '{{ update_mask }}' --required
AND deployment_name = '{{ deployment_name }}' --required
AND tool = '{{ tool }}' --required
RETURNING
id,
name,
tool_id,
app,
catalog,
dashboard,
description,
genie_space,
knowledge_assistant,
lakeview_dashboard,
schema,
serving_endpoint,
skill,
supervisor_agent,
table,
tool_type,
uc_connection,
uc_function,
uc_mcp,
uc_table,
vector_search_index,
volume,
web_search;

DELETE examples

Deletes a Tool.

DELETE FROM databricks_workspace.supervisoragents.tools
WHERE name = '{{ name }}' --required
AND deployment_name = '{{ deployment_name }}' --required
;