Optional writable TOC cache path. Defaults to AppData/aardio/vb6-docs; separate from the compiler installation.
Close the lazily created MCP client in this context; the next online call reconnects. Offline resolve never creates a client.
Fetch an HTTPS learn.microsoft.com page as Markdown via microsoft_docs_fetch; returns text or null,error. Requires network.
Returns [{title;url}] or null,error. Default reads memory/user-cache/shipped snapshot offline. true downloads, validates and atomically caches the official TOC; failure preserves the previous index. Rare cache cleanup failure returns a third detail object.
Resolve the best candidate then fetch via Microsoft Learn MCP; returns {title;url;text} or null,error. Use resolve + fetch if the title is ambiguous.
Offline English-title ranking (case-insensitive literal words): exact, all words, then fallback. Returns [{score;title;url}] or null,error. Empty query/limit 0 returns []. Review candidates for ambiguous topics.
microsoft_code_sample_search results with codeSnippet/link/language/description retained. Network required. Raw upstream samples can contain VBA7/VB.NET; check compatibility before use. Failure returns null,error.
microsoft_docs_search, normalized to [{title;url;content}], deduplicated by URL without fragment. Use e.g. Format function VBA, not a VB6.0 suffix. Requires network; returns null,error on failure, not [].
Official documentation helper version.