starbucks_nutrition
Recalculate calories, fat, sugars, and protein for a CUSTOMIZED Starbucks drink -- swap the milk, change the espresso-shot or syrup-pump count -- rather than the standard recipe. Starbucks offers this for only four hot espresso beverages: product_number/form must be 406/hot (Caffe Americano), 407/hot (Caffe Latte), 408/hot (Caffe Mocha), or 413/hot (Caramel Macchiato); anything else returns an invalid-parameter error naming those four. size_sku comes from a starbucks_product result's sizes[].sku. modifiers is the COMPLETE build, not a change-set: start from that size's default_recipe, adjust what you want, and send the whole list back; an empty list is rejected. Each modifier takes a sku, an optional quantity (default 1, and the dial that matters for countable modifiers like espresso shots), and an optional replaced_sku when substituting a pick-one slot such as the milk. Returns Starbucks' own four-value dynamic-nutrition panel, which is smaller than the full per-size panel starbucks_product returns for the standard build. market selects which country site answers, one of us or ca (default us).
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": {
"product_number": "<product_number>",
"form": "<form>",
"size_sku": "<size_sku>",
"modifiers": "<modifiers>"
},
"name": "starbucks_nutrition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form | Yes | Product form. Only hot is supported for this endpoint. Documented values: hot. | |
| market | No | Market selects which country site answers. Defaults to us. | |
| size_sku | Yes | SizeSKU is the sku of the size being built, from a /starbucks/product result's sizes[].sku. | |
| modifiers | Yes | Modifiers is the COMPLETE build, not a delta from the default. Start from the size's default_recipe (returned by /starbucks/product), change what you want, and send the whole list back. An empty list is rejected by Starbucks with "Modifiers list required". | |
| product_number | Yes | Starbucks numeric product id. One of: 406, 407, 408, 413 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |