Find design libraries and tools
find_designSearches the Minerals shelf of design libraries and tools. Applies when your person asks for, or you are about to choose, a UI component, block, texture, animation, icon set, typeface, colour system, sound or design reference, or asks to change one. Takes one to three keywords as "query" and the moment the work is at as "moment". Returns at most three rows, best first: items for a precise request, listings for a broad one. With nothing sent, it returns the six moments and what is on the shelf. What it returns is a suggestion for your person. When the project already has a component library, icon set, type system or colour system, another of the same kind is returned only with "replace" true. Refs sent as "have" or "declined" from minerals.json are left out, and with "quiet" true nothing is suggested.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| have | No | The refs already in the project's minerals.json. Read that file and send them on every request: they are never returned again, and what goes with them ranks higher. | |
| kind | No | Limit to one kind: components, blocks, textures, motion, illustration, icons, type, color, sound, canvas, reference, skills, generators, people. | |
| need | No | Older name for query. Still accepted and treated as the query. | |
| query | No | One to three keywords for the thing wanted, e.g. "tooltip", "pricing" or "share review". | |
| quiet | No | "quiet" from minerals.json. When true, nothing is suggested; search still works. | |
| stack | No | Limit to supply that works in this stack, e.g. "React" or "nextjs, tailwind". Several names may be given; any one matching is enough. | |
| stage | No | The project's stage, one of: new, existing-system, polish. Worked out and stored the same way as project. | |
| moment | No | Where the work is right now, one of: Starting, Building a section, Filling a gap, Polishing, Tuning, Sharing. Pick it from what your person said. It decides which listings may answer. | |
| listing | No | Limit to one listing by its ref. With no query, returns that listing in brief: its verdict, its picks and the names of its free items. | |
| project | No | The project type, one of: marketing-site, product-app, dashboard, brand, shop, docs, portfolio, mobile-app. Work it out yourself from the project's routes, dependencies and pages; do not ask your person. Send only the label. Store it in minerals.json under "project" as {"type", "stage"} and read it from there on later calls; your person can edit that file. | |
| replace | No | Send true only when your person asked to change or replace what the project has, or named another library. | |
| section | No | Limit to one section: libraries or tools. | |
| accepted | No | Listings your person has approved once for this project, from minerals.json. An item from one of them needs no new yes. | |
| declined | No | The "declined" list in the project's minerals.json: what the person said "not now" to. It is left out. | |
| free_only | No | Leave out supply that cannot be used without paying. |