Search brands and models
searchResolve free-form user text into the canonical brand / model identifiers the other tools expect. Meant for phones named in free text: the other tools match brands and models exactly, so a guessed spelling returns an empty list.
Matching is case-insensitive: every word of the query in the brand or
resolved model name, or the whole query in the raw Build.MODEL, ranked by
exact match then popularity; '+' and 'plus' are the same word. When
nothing matches, glued words are split ('galaxys24') and misspelt ones
corrected to the closest known brand / model word, the search is rerun and
corrected_query says how the query was read.
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": {
"query": "<query>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum brand hits and model hits to return (each list is capped separately). | |
| query | Yes | Free text: a brand ('samsug'), a model name ('pixel 8'), a raw Build.MODEL code ('SM-S911B'), or both ('samsung galaxy s23'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | The query that was resolved. | |
| brands | No | Matching brands, best match first. | |
| models | No | Matching models, best match first. | |
| corrected_query | No | Present only when the query as typed matched nothing: the misspelling-corrected query these results are for, a guess to mention in the answer. |