Preview program in Phorme
preview_program_importUse this when the user wants to turn a multiweek training program from this conversation into trackable Phorme training. It checks every week and workout, matches exercises to the Phorme movement library, and stores a private preview for 24 hours. It does not save training to any account. Do not use it for a single workout, nutrition plans or medical questions.
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": {
"program": "<program>"
},
"name": "preview_program_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | The multiweek program to preview, taken from this conversation. At most 500 workouts in total. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| warnings | Yes | Items the user should review before saving. | |
| exercises | No | Each exercise with its Phorme library match and demo link. | |
| expires_at | Yes | When the preview can no longer be saved, as an ISO 8601 time. | |
| preview_id | Yes | Identifies this preview when it is saved. | |
| training_kind | Yes | ||
| warning_count | Yes | ||
| exercise_count | Yes | ||
| requires_confirmation | Yes | Always true: saving needs the user's confirmation. | |
| estimated_duration_minutes | Yes |