convert_amount
Convert baking ingredient amounts between units (cups, grams, tbsp, tsp, ounces, ml, pounds, kg) using accurate density data (King Arthur + USDA). E.g. 2 cups of all-purpose flour to grams. Free anonymous tier: 20 calls/day per IP. More calls need an API key (https://ko-fi.com/yugutou/shop) or use the free website https://bakingtab.com.
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": {
"amount": "<amount>",
"from_unit": "<from_unit>",
"to_unit": "<to_unit>",
"ingredient": "<ingredient>"
},
"name": "convert_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to convert. | |
| to_unit | Yes | Target unit. | |
| from_unit | Yes | Source unit: cup, tbsp, tsp, gram, kg, ounce, ml, pound. | |
| ingredient | Yes | Ingredient name or id (e.g. "all-purpose flour" or "ap-flour"). |