Update product schedule
suppco_update_product_scheduleUse this when the user wants to change when or how they take a product that is already in their stack. Replaces that product's schedule: time-of-day amounts, daily, specific-days or every-other-day timing, as-needed, with food, and timing notes.
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_id": "<product_id>",
"schedule": "<schedule>"
},
"name": "suppco_update_product_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule | Yes | JSON array of time-slot assignments, e.g. [{"activity":"morning","units":2},{"activity":"bedtime","units":1}]. "units" is in the product's serving unit as user_schedule shows it (capsules, tablets, scoops, mL, ...) — NOT servings. For a tincture whose serving_size is 0.7 mL, one serving is 0.7, not 1. Valid activities: morning, midday, evening, bedtime, workout, unscheduled. | |
| as_needed | No | Whether the product is taken as needed (true/false). Omit to keep the current value. | |
| with_food | No | Whether the product should be taken with food (true/false). Omit to keep the current value. | |
| product_id | Yes | Product slug or UUID | |
| schedule_days | No | Array of day names (e.g. ["monday","wednesday","friday"]) for specific_days schedule_type | |
| schedule_type | No | Schedule type: daily, specific_days, or every_other_day | |
| schedule_notes | No | Brief timing instructions that the schedule cannot capture (e.g., "take 2 hours apart from calcium", "take on empty stomach 30 min before bed"). Set to empty string to clear. | |
| new_daily_amount | No | ONLY when the user explicitly asked to take a different amount per day: the new daily total they asked for, in the same units as the schedule. Must equal the schedule total. Omit for timing changes — a schedule whose total differs from the current daily amount is rejected without it. | |
| every_other_day_start | No | When to start every_other_day schedule: "today" or "tomorrow" | |
| attribute_change_requested | No | Set true ONLY when the user asked to change with_food or as_needed. Without it, a with_food/as_needed value that differs from the current one is rejected. |