Read requested training analysis
get_analysis_contextUse this when a workout.completed or analysis.requested event arrives. Read the request_id to retrieve the account-owned completed session, previous matching workouts and week summary. Follow analysisBrief for the selected scope: overall progress and muscle-group coverage for history, specific exercise progression for a workout, or only the selected exercise over time. Follow next_cursor, report missing or truncated history, and reply with the analysis in the receiving AI chat so the user can ask follow-up questions. Use get_session for full set details and get_workout for current targets, which are not historical goal snapshots. No save call is required. This tool never edits workouts.
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": {
"request_id": "<request_id>"
},
"name": "get_analysis_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| week | Yes | ||
| scope | Yes | ||
| target | Yes | ||
| sessions | Yes | ||
| truncated | Yes | ||
| exercise_id | Yes | ||
| next_cursor | Yes | ||
| analysisBrief | Yes | ||
| previousWorkouts | Yes |