Protein calculator
protein_calculatorDaily protein range in grams from body weight and whether the person exercises most weeks, and the amount at each eating time when the number of eating times a day is given. Weight (weight_kg or weight_lb) is also required.
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": {
"exercise": "<exercise>"
},
"name": "protein_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | Optional: eating times a day, 1 to 6 | |
| exercise | Yes | Exercises most weeks | |
| weight_kg | No | Weight in kilograms, 25 to 400 | |
| weight_lb | No | Weight in pounds, instead of weight_kg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A line instead of a number, when no number applies | |
| page | Yes | ||
| tool | Yes | ||
| inputs | Yes | The inputs as understood, in metric units | |
| method | Yes | How the answer is worked out | |
| result | No | ||
| disclaimer | Yes |