Skip to content

datarobot_genai.drtools.dr_docs.tools

tools

Standalone DataRobot Agentic AI documentation search tools.

No API keys or external services are required — the tool directly indexes the public documentation site using a TF-IDF search over page titles and body text.

Provides standalone tool functions that can be wrapped as LangChain or other framework (e.g. LlamaIndex) or MCP tools.

Example use with LangGraph::

from datarobot_genai.drtools.dr_docs import search_datarobot_agentic_docs
from langchain_core.tools import tool
search_tool = tool(search_datarobot_agentic_docs)
agent = create_agent(model, tools=[search_tool])

# To call directly:
result = await search_tool.ainvoke({
    "query": "MCP server setup",
    "max_results": 5
})