feat: add mcp guides for various topic and stages for bot building (#380)

This commit is contained in:
Abhishek 2026-05-31 16:07:32 +05:30 committed by GitHub
parent 0962c4678f
commit 5c29b6ed94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1727 additions and 8 deletions

View file

@ -13,6 +13,7 @@ from api.mcp_server.tools.docs_search import list_docs, read_doc, search_docs
from api.mcp_server.tools.get_workflow_code import get_workflow_code
from api.mcp_server.tools.node_types import get_node_type, list_node_types
from api.mcp_server.tools.save_workflow import save_workflow
from api.mcp_server.tools.voice_prompting_guide import get_voice_prompting_guide
from api.mcp_server.tools.workflows import get_workflow, list_workflows
mcp = FastMCP("dograh", instructions=DOGRAH_MCP_INSTRUCTIONS)
@ -32,6 +33,15 @@ for _tool in (
):
mcp.tool(_tool)
_GUIDE_TOOL_ANNOTATIONS = ToolAnnotations(
readOnlyHint=True,
idempotentHint=True,
destructiveHint=False,
openWorldHint=False,
)
mcp.tool(get_voice_prompting_guide, annotations=_GUIDE_TOOL_ANNOTATIONS)
_DOCS_TOOL_ANNOTATIONS = ToolAnnotations(
readOnlyHint=True,
idempotentHint=True,