discover-tools
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDiscover Available Tools
探索可用工具
Run tool discovery BEFORE writing agent code to understand what resources are available in the workspace.
在编写Agent代码前运行工具探索,以了解工作区中可用的资源。
Run Discovery
运行探索
bash
uv run discover-toolsOptions:
bash
undefinedbash
uv run discover-tools选项:
bash
undefinedLimit to specific catalog/schema
限定到特定目录/模式
uv run discover-tools --catalog my_catalog --schema my_schema
uv run discover-tools --catalog my_catalog --schema my_schema
Output as JSON
以JSON格式输出
uv run discover-tools --format json --output tools.json
uv run discover-tools --format json --output tools.json
Save markdown report
保存Markdown报告
uv run discover-tools --output tools.md
uv run discover-tools --output tools.md
Use specific Databricks profile
使用特定的Databricks配置文件
uv run discover-tools --profile DEFAULT
undefineduv run discover-tools --profile DEFAULT
undefinedWhat Gets Discovered
可探索的资源类型
| Resource Type | Description | MCP URL Pattern |
|---|---|---|
| UC Functions | SQL UDFs as agent tools | |
| UC Tables | Structured data for querying | (via UC functions) |
| Vector Search Indexes | RAG applications | |
| Genie Spaces | Natural language data interface | |
| Custom MCP Servers | Apps starting with | |
| External MCP Servers | Via UC connections | |
| 资源类型 | 描述 | MCP URL格式 |
|---|---|---|
| UC函数 | 作为Agent工具的SQL UDF | |
| UC表 | 用于查询的结构化数据 | (通过UC函数访问) |
| 向量搜索索引 | 用于RAG应用 | |
| Genie空间 | 自然语言数据接口 | |
| 自定义MCP服务器 | 以 | |
| 外部MCP服务器 | 通过UC连接访问 | |
Next Steps
后续步骤
After discovering tools:
- Add MCP servers to your agent - See modify-agent skill for SDK-specific code examples
- Grant permissions in - See add-tools skill for YAML snippets
databricks.yml - Test locally with - See run-locally skill
uv run start-app
完成工具探索后:
- 将MCP服务器添加到你的Agent中 - 查看modify-agent技能获取SDK特定的代码示例
- 在中授予权限 - 查看add-tools技能获取YAML代码片段
databricks.yml - 本地测试 - 使用,查看run-locally技能
uv run start-app