---
name: "xpay-microsoft-learn-microsoft-docs-search"
description: "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."
version: "1.0.0"
price: "$0.01/call"
provider: "Microsoft Learn"
---

# 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.

## 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.

**Provider:** Microsoft Learn
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to 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.. This is part of the Microsoft Learn provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 2+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("microsoft-learn/microsoft_docs_search")`
2. **`xpay_run`** — Execute: `xpay_run("microsoft-learn/microsoft_docs_search", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | No | a query or topic about Microsoft/Azure products, services, platforms, developer tools, frameworks, or APIs |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Microsoft Learn (all tools)](https://xpay.tools/skills/microsoft-learn/SKILL.md) — 3 tools
- [Microsoft Code Sample Search](https://xpay.tools/skills/microsoft-learn/microsoft-code-sample-search/SKILL.md) — $0.01/call
- [Microsoft Docs Fetch](https://xpay.tools/skills/microsoft-learn/microsoft-docs-fetch/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/microsoft-learn/microsoft-docs-search/
- Provider: https://xpay.tools/microsoft-learn/
- All tools: https://xpay.tools/explore
