get_references
Search the Reference Library for UI patterns to build from: onboarding flows, paywalls, pricing tables, dashboards, auth screens, settings pages, empty states — plus the primitives they're built from. Every result is real, licensed open-source code (MIT/Apache-2.0/ISC/Nodeon original) with its source URL attached. Pass node_id to match the current task's spec, or query to describe what you need in words. Screens and blocks outrank loose primitives; for a react_web stack, html_tailwind references are included as a fallback below react_web. Returns up to 5 references with category, framework, license, purpose and the code snippet. Rate limited to 60 calls per hour per user; when the limit is reached the tool returns an error with the wait time.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "get_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many references to return (1–5, default 3). | |
| query | No | Free-text description of the UI you need, e.g. 'annual vs monthly billing toggle with savings badge'. Provide node_id or query (node_id wins if both). | |
| node_id | No | Node whose spec is the search probe — preferred when you already have the task. The node must belong to project_id. | |
| category | No | Restrict to one category: onboarding, auth, paywall, pricing, settings, dashboard, list, card, navigation, form, modal, empty_state, feedback, chart, layout, other, primitive. | |
| framework | No | Stack preference: react_web, react_native or html_tailwind. react_web searches also admit html_tailwind references, ranked below react_web. | |
| project_id | Yes | The project ID. Get this from list_projects first. |