Use this page
Save plan
Saves several planned workouts or meals together.
WRITEsave_plan
Your assistant uses it when you ask to save a plan with several workouts or meals. Each entry is saved as planned. Use the same fields as Log or plan workout and Log or plan meal for the entries in the plan.
Give each entry its own requestId and reuse it if a save times out. The response returns the entries it saved and identifies any refused entry by kind and position in failed. An unknown exercise prevents the plan from being saved.
Inputs
Section titled “Inputs”| Input | Type | Description |
|---|---|---|
workouts | array | Each session to plan, exactly as create_workout takes it. Its state is always planned. Up to 14 items. |
meals | array | Each meal to plan, exactly as create_meal takes it. Its state is always planned. Up to 42 items. |
Workouts
Section titled “Workouts”| Input | Type | Description |
|---|---|---|
title | string | Required. What the session is called, such as Push day or Legs. Up to 200 characters. |
startsAt | date-time | Required. When it started, or for a plan when it will, with its UTC offset. |
timezone | string | Required. The IANA timezone where the workout is done, such as America/New_York. Up to 100 characters. |
exercises | array | Required. The exercises in the order they are done. 1 to 100 items. |
state | string | logged for a workout done; planned only for a plan the person asked to save. One of planned or logged. Defaults to logged. |
note | string or null | For a plan, guidance to train by, shown while training and credited to you; for a logged workout, what the person wants kept about it. Up to 10,000 characters. |
endsAt | date-time or null | When it ended, with its UTC offset, so its duration reads; leave out when not known, and for a plan. |
supersets | array | Names and rests for supersets; one an exercise points at without listing it here is made with neither. Up to 50 items. |
place | string | Where it is done: a place id from list_places; leave out when not known. Up to 100 characters. |
requestId | string | A short id of your own for this save, different for every save, such as dinner-2026-11-22. Send the same one again when trying after an error or a timeout: Splot returns what it already saved rather than saving it twice. |
| Input | Type | Description |
|---|---|---|
eatenAt | date-time | Required. When it was eaten, or for a plan when it will be, with its UTC offset. |
timezone | string | Required. The IANA timezone where the meal is eaten, such as America/New_York. Up to 100 characters. |
items | array | Required. The foods in the meal, each with its portion. 1 to 100 items. |
state | string | logged for food eaten; planned only for a plan the person asked to save. One of planned or logged. Defaults to logged. |
images | array | Photos already saved on this record to keep, or public https image links. New photos from the conversation go in photos, never here. Up to 20 items. |
name | string or null | A name for the meal as a whole, such as Sunday brunch. Up to 2,000 characters. |
notes | string or null | Notes the person wants kept with the meal. Up to 2,000 characters. |
requestId | string | A short id of your own for this save, different for every save, such as dinner-2026-11-22. Send the same one again when trying after an error or a timeout: Splot returns what it already saved rather than saving it twice. |
What your assistant is told
Section titled “What your assistant is told”The tool’s own instructions, word for word, as every assistant receives them.
Save a plan of several sessions or meals at once, such as a week of workouts and meals, when the person asks for the plan to be saved. Use this rather than many create_workout and create_meal calls whenever a plan holds more than one session or meal, so the person sees the whole plan as one. Give every workout a note of one or two short lines on what the session is for and how to approach it, such as Full body with dumbbells and a pull-up bar; start pull-ups at 3 × 4: it shows on the plan's card and in the app while training. Each workout and meal is exactly what create_workout and create_meal take: find every exercise with list_exercises and every food with list_foods first, and read get_targets before planning meals. Everything is saved as planned. An unknown exercise saves nothing. Otherwise each piece is saved on its own, and failed lists any refused, by kind and its place in the input: fix and save only those again. Give every workout and meal its own requestId, so after an error or timeout the same call can be sent again and saves only what is missing. Say the plan is saved only after this returns.
Use this page
Last updated
