Put a workout on a 1:1 client's day
coach_client_workoutUse this when a Phorme coach has written a workout for one of their 1:1 clients and wants it on the client's plan. It writes it as a real session on that day, marked from the coach, with loads filled from the client's maxes where the coach gave none; the client can undo it in the app. replace true rewrites the workout the coach already put on that day. Send the workout exactly as the coach wrote it. Set confirmation to true only after the coach said yes to this workout for this client.
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": {
"brain_id": "<brain_id>",
"client_id": "<client_id>",
"title": "<title>",
"exercises": "<exercises>",
"confirmation": "<confirmation>"
},
"name": "coach_client_workout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The day, YYYY-MM-DD. Today when left out. | |
| title | Yes | A short name, for example "Lower A". | |
| replace | No | True to rewrite the workout the coach already put on that day. | |
| brain_id | Yes | The brain id of the coach's own build, for example "cameron". | |
| client_id | Yes | The client_id of one of the coach's 1:1 clients, from coach_clients. | |
| exercises | Yes | ||
| confirmation | Yes | True only after the coach said yes to this workout for this client. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| next | No | ||
| title | No | ||
| result | No | ||
| written | Yes | ||
| brain_id | No | ||
| client_id | No |