Search Cocktails
search_cocktailsSearch TheCocktailDB for cocktail recipes by name. Returns name, category, alcoholic/non-alcoholic classification, glassware, thumbnail, and ingredient list with measurements (no preparation instructions, use get_cocktail for those).
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "margarita"
},
"name": "search_cocktails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Cocktail name or partial name to search for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of cocktails found | |
| cocktails | Yes | List of matching cocktails |