Log or plan workout
create_workoutSave a workout the person did, or a plan they asked to save: a session of exercises, each with its sets. Find every exercise with list_exercises first and pass its id. Use state logged with what was done, and planned only when the person asks for a plan to be saved, since a suggestion alone is not a request. To log a workout that was planned, use update_workout instead of creating another. Weights are always kilograms; read get_targets for the person's units and convert before saving and when talking. If the weight, reps or number of sets is unclear for a logged workout, ask one short question first, without asking again for what the person already said. Before planning, read list_workouts for what they did lately and list_routines for how they train, start from weights they have lifted, and never raise a weight they did not ask to raise. Splot holds strength training: weights, body-weight exercises and holds. A run, a ride or a match has no exercise yet, so say so rather than forcing it into one. Say the workout is saved only after this returns its id; give every save its own requestId, and after an error or timeout try again with the same one.
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": {
"title": "<title>",
"startsAt": "<startsAt>",
"timezone": "<timezone>",
"exercises": "<exercises>"
},
"name": "create_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 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 | |
| place | No | Where it is done: a place id from list_places; leave out when not known | |
| state | No | logged for a workout done; planned only for a plan the person asked to save | logged |
| title | Yes | What the session is called, such as Push day or Legs | |
| endsAt | No | When it ended, with its UTC offset, so its duration reads; leave out when not known, and for a plan | |
| startsAt | Yes | When it started, or for a plan when it will, with its UTC offset | |
| timezone | Yes | The IANA timezone where the workout is done, such as America/New_York | |
| exercises | Yes | The exercises in the order they are done | |
| requestId | No | 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 | |
| supersets | No | Names and rests for supersets; one an exercise points at without listing it here is made with neither |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| day | Yes | ||
| note | Yes | ||
| time | Yes | ||
| state | Yes | ||
| title | Yes | ||
| endsAt | Yes | ||
| source | Yes | ||
| startsAt | Yes | ||
| timezone | Yes | ||
| exercises | Yes | ||
| supersets | Yes |