1. User asks to find an API for a specific Windows capability or asks for details about a known API.
2. Translate the user's request into relevant search keywords or API type names.
3. Execute the `Invoke-WinMdQuery.ps1` script with the appropriate action (`search`, `members`, or `enums`) and query parameters.
4. If searching, evaluate the search results based on scores and relevance. If scores are low, search online documentation.
5. Read the JSON output to identify the relevant API types, members, or enumeration values.
6. Provide the API information to the user, including links to official documentation for context.
7. User implements the API in their code.