Home / Directory / Microsoft Learn / microsoft_docs_search

Microsoft docs search

An MCP tool from the Microsoft Learn server, run by Microsoft.

Search official Microsoft/Azure documentation to find the most relevant and trustworthy content for a user's query. This tool returns up to 10 high-quality content chunks (each max 500 tokens), extracted from Microsoft Learn and other official sources. Each result includes the article title, URL, and a self-contained content excerpt optimized for fast retrieval and reasoning. Always use this tool to quickly ground your answers in accurate, first-party Microsoft/Azure knowledge. ## Follow-up Pattern To ensure completeness, use microsoft_docs_fetch when high-value pages are identified by search. The fetch tool complements search by providing the full detail. This is a required step for comprehensive results.

Name on the gateway: microsoft_learn__microsoft_docs_search.

Parameters

NameTypeDescription
querystringa query or topic about Microsoft/Azure products, services, platforms, developer tools, frameworks, or APIs

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "microsoft_learn__microsoft_docs_search",
  "arguments": {}
}

The first call connects Microsoft Learn to your account automatically; nothing to set up. About this server.

Try asking

Use the microsoft docs search tool with query set to ….

More from Microsoft Learn