js_search
Search MDN Web Docs and the TypeScript handbook by name or path to quickly find relevant API and syntax references from a cached index.
Instructions
Search MDN Web Docs and the TypeScript handbook by name/path.
Ranks entries of the cached search index (every query token must match; exact name > startswith > substring in name > substring in path). Returns {"ok": True, "query", "results": [{source, name, path, score}], "index_count", "stale"}. When the index is unavailable returns {"ok": False, "error", "suggestion"} — retry later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |