apg_semantic_search
Search WAI-ARIA Authoring Practices patterns and examples using natural language. Returns relevant chunks with pattern IDs for accessible widget guidance.
Instructions
RAG: natural-language search over APG pattern Markdown and example source text. Returns the most similar chunks with patternId (and example slug when applicable). Follow up with apg_get_pattern / apg_get_example for full docs. Requires a pre-built index from npm run rag:index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of chunks to return | |
| query | Yes | Natural-language question or keywords | |
| maxCharsPerHit | No | Truncate each hit text to this many characters |