find_atoms
Semantic search over the atom catalog: describe the UI piece you need in plain words and get the best-matching atoms, ranked best-first, each with a description and an example need. YOU choose from the list (the first entries are most likely, but check the descriptions), then call get_atom_schema for the one(s) you pick. Use this instead of scanning get_catalog when the vocabulary is large. Describe the need as a user would (e.g. "let clients choose grooming services and see the total price"), not by guessing an atom name. Pass renderer to keep only atoms that renderer draws as intended (status drawn or native); each result then carries renderer_status.
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": {
"need": "<need>"
},
"name": "find_atoms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | How many candidates to return (default 10, max 50). If none fits, rephrase the need or ask for more. | |
| need | Yes | The UI piece you need, in plain words (one need per call) | |
| renderer | No | Optional renderer id: react, lit, angular, copilotkit, a2ui-vue, flutter or compose. Keeps only atoms whose measured status for it is drawn or native; atoms with no renderer data (not yet measured) are left out. | |
| include_degraded | No | With renderer only: also keep atoms with status degraded (Flutter lowers them to Basic components, so they show but not as the atom intends). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atoms | Yes | Candidates, best first. | |
| count | Yes | Number of ranked atoms returned. | |
| confident | Yes | True when the best score clears the rejection floor. | |
| also_named | No | Unranked atoms whose names share a word with the request. | |
| also_named_note | No | Why also_named is listed. |