training_plan
Save golf training plans, retrieve the next scheduled practice, and verify real shot data against target metrics to grade performance.
Instructions
The coach's memory: save prescribed practice plans and recall/grade them.
Actions:
save(needsplan): persist a prescribed plan to the pending queue. Theplanis a structured dict — title, focus, diagnosis, blocks [{name, club, reps, detail, link, goal}], and optionaltarget_specs(machine-readable targets, e.g. {metric:'clubPath', club:'DRIVER', op:'between', low:-1, high:2}) used byverify. Returns the stored plan (with id). Capped at the most recent 50.next: return the next pending plan — the answer to "what's today's training?".list(optionalstatus='pending'|'done'): list plans, oldest→newest.done(needsplan_id, optionalresult_session_id): mark a plan complete.verify(needsplan_id, optionalactivity_id): grade a recent session's real shot metrics against the plan'starget_specs; returns per-target session-mean vs target,all_met, and a recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| action | Yes | ||
| status | No | ||
| plan_id | No | ||
| activity_id | No | ||
| result_session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||