recommend_patterns
Intent-aware pattern recommendations. Describe what you are building — industry, style, mood, technical needs — and get scored results with reasons and compatibility suggestions. Returns metadata only (number, slug, title, role, score, reason, compatible_with). Call get_pattern to retrieve the actual code for any recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Optional page-role filter (hero, nav, pricing, footer, background, etc.) | |
| count | No | Max results (default 5, max 20) | |
| intent | Yes | What you are building, e.g. "premium SaaS landing page for enterprise AI startup" or "dark minimal portfolio with dramatic 3D hero" | |
| context | No | Slugs or numbers already chosen for this page (order does not matter here). Recommendations that clash with any of them are excluded, a pattern already at its own max_per_page in context is skipped, and a WebGL pattern in context or in the results auto-adds device-tier-gate (245) as the fallback. |