Coach Script
coach_scriptStep through a GoldCoach script. Without at: the entry of a stage (the first when stage is omitted). With at (the message you just asked) and the person's response (affirmed, corrected or rejected for a statement; yes or no; answered for a free answer): the message that follows from what they said, so two people starting the same script get different routes, each traceable to their own statements (send the statement_ids the response followed). Each step names the GoldSeam tools to call in order and the CourseShelf areas it relies on. With the session open_my_coach returned (session_id and person_handle), each step is recorded on the person's record (the script run, the stage reached, where to continue) and a milestone the step carries is recorded, not shared with the sponsor until the person shares it (coach_milestone_share). The check-in script answers the person's record first. In a trial sponsorship only the opening script and the first avenue answer. With email_my_history true, the session and the address the person typed: their GoldCoach history (sessions, scripts, stages, milestones; never the words) is emailed to them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "coach_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | The message key the last step answered (step.at) | |
| plan | No | The person's plan, with the session: op get (default), choose (directions: their chosen directions), add_actions (actions: [{text, direction, due}]), update (updates: [{action_id, status: open, done or dropped}], check_in_at), or share (share: true or false, their own choice) | |
| No | With email_my_history: the address the person typed in the chat | ||
| stage | No | Optional: the phase to enter, as the script names it; the first when omitted | |
| held_at | No | With feedback hold: the step it is at | |
| session | No | The session open_my_coach returned: session_id and person_handle | |
| version | No | Optional: a version; the latest when omitted | |
| feedback | No | When the person says "I have feedback": hold (with held_script and held_at, the script and step running now) holds that place and starts the feedback script; return, when feedback ends, gives back the held place. One hold at a time | |
| response | No | What the person said to it; changed when something in their life changed, which loops back | |
| start_at | No | Optional: land on this message of the script (a bridge's handover lands where the shared start ends: the script's after_shared_start) | |
| script_id | No | The script, as coach_scripts lists it | |
| held_script | No | With feedback hold: the script running now | |
| routed_from | No | With start_at: the script whose bridge handed over | |
| statement_ids | No | The person's own statements (from the Selfie) the response followed | |
| not_held_tools | No | The GoldSeam tools that answered "not held" for the step just answered (recorded as findings: facts only, no words) | |
| email_my_history | No | Email the person their GoldCoach history, on their own request | |
| feedback_answers | No | With script_id feedback, at send and response yes (the person's yes after seeing their answers): worked, didnt, change, rating (1 to 5, optional), else, in their own words; sent to the KSAWorks team |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | script, stage, at, message, done, tools, evidence_needs, followed, milestone_reached, record (the check-in), consent, recorded, outside_trial | |
| limits | No | ||
| status | No | ||
| problem | No | ||
| contract | Yes | ||
| statement | Yes | ||
| next_actions | No |