joiva_set_macro_targets
Set the signed-in user's macro philosophy and targets. Semantics differ per macro: protein is a floor (at least X g), carbsMaxG a cap (at most; null = no cap), fat fills the remaining calorie budget automatically. clear=true removes the configuration.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "joiva_set_macro_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Remove the stored macro targets | |
| proteinG | No | Protein floor in grams; preset default when omitted | |
| carbsMaxG | No | Carb cap in grams; null = explicitly no cap; preset default when omitted | |
| philosophy | No | Required unless clear=true |