Microsoft Docs

Microsoft Docs

Official
MicrosoftDocs

Search and access official Microsoft documentation including Azure, Microsoft 365, and Microsoft Learn content. Get up-to-date, authoritative information and code examples directly from Microsoft's official docs.

1,4272,078 views169Remote

What it does

  • Search Microsoft Learn documentation semantically
  • Find official Microsoft code samples and examples
  • Fetch complete documentation pages in markdown format
  • Access Azure and Microsoft 365 documentation

Best for

Developers building on Microsoft platformsGetting accurate Azure SDK informationFinding official Microsoft code examplesPreventing AI hallucinations about Microsoft APIs
No API key requiredRemote service — zero setupOfficial Microsoft documentation only

Tools (3)

microsoft_docs_search

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. The `question` parameter is no longer used, use `query` instead. ## 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.

microsoft_code_sample_search

Search for code snippets and examples in official Microsoft Learn documentation. This tool retrieves relevant code samples from Microsoft documentation pages providing developers with practical implementation examples and best practices for Microsoft/Azure products and services related coding tasks. This tool will help you use the **LATEST OFFICIAL** code snippets to empower coding capabilities. ## When to Use This Tool - When you are going to provide sample Microsoft/Azure related code snippets in your answers. - When you are **generating any Microsoft/Azure related code**. ## Usage Pattern Input a descriptive query, or SDK/class/method name to retrieve related code samples. The optional parameter `language` can help to filter results. Eligible values for `language` parameter include: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php

microsoft_docs_fetch

Fetch and convert a Microsoft Learn documentation page to markdown format. This tool retrieves the latest complete content of Microsoft documentation pages including Azure, .NET, Microsoft 365, and other Microsoft technologies. ## When to Use This Tool - When search results provide incomplete information or truncated content - When you need complete step-by-step procedures or tutorials - When you need troubleshooting sections, prerequisites, or detailed explanations - When search results reference a specific page that seems highly relevant - For comprehensive guides that require full context ## Usage Pattern Use this tool AFTER microsoft_docs_search when you identify specific high-value pages that need complete content. The search tool gives you an overview; this tool gives you the complete picture. ## URL Requirements - The URL must be a valid link from the microsoft.com domain. ## Output Format markdown with headings, code blocks, tables, and links preserved.

Alternatives