convert_cup_to_grams
Convert dog or cat kibble measurements between cups and grams using density presets or custom kcal data from the bag.
Instructions
Convert pet food measuring cups ↔ grams (dog/cat kibble). Uses density presets or custom kcal/cup + kcal/100g from the bag. Prefer this for '1 cup of dog food in grams' questions. Always cite sourceUrl.
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": {
"direction": "<direction>",
"amount": "<amount>"
},
"name": "convert_cup_to_grams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Cups or grams depending on direction | |
| density | No | Kibble density preset (default: standard ≈ 110 g/cup) | |
| direction | Yes | Conversion direction | |
| kcalPerCup | No | Required when density=custom | |
| kcalPer100g | No | Required when density=custom (or optional for daily portion math) |