Open My Coach
open_my_coachWhen the person says "Open my coach" (or advisor, counselor, teacher, mentor) during their Selfie: opens the coach (a coach view in this chat) for this same interview, the same coach reopening when the package holds an earlier coaching context, and the Selfie records it in their package. It needs the person's own key, which the Selfie checks. Its answer carries the AI oath (oath): say it first, every time the coach opens, before any question, ask the person whether they agree, and call open_my_coach again with their answer as oath_answer (and age_band); the same coach reopens and nothing is reset. Keep the package it returns; it is theirs. To report that the coach closed or is unavailable, call it with avatar_status closed or unavailable.
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": {
"package": "<package>"
},
"name": "open_my_coach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| package | Yes | The person's Selfie package, as the Selfie's services returned it | |
| age_band | No | Sent with oath_answer: whether the person said they are under 18, or 18 and over | |
| oath_answer | No | The person's answer at the oath, after you said it to them: yes keeps their record (facts only, never the words) from then on; no keeps it only for this visit | |
| size_preset | No | The person's size choice, as the coach view reports it | |
| display_mode | No | The display mode the coach view reports the host granted | |
| handle_token | No | Optional: the signed handle token from the person's own KSAWorks link, so the coach keeps a session record (facts only, never the words) and can say where they left off | |
| avatar_status | No | Only to report that the coach closed or is unavailable; omitted, the coach opens | |
| invitation_code | No | Optional: the code from the person's sponsored invitation link, so the session is counted under that sponsorship |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oath | No | ||
| view | No | ||
| coach | No | The coaching context open_coach opened | |
| limits | No | ||
| selfie | No | What the Selfie recorded: the coach, the session, where the interview continues | |
| status | No | ||
| package | No | The person's package, with the coach recorded by the Selfie | |
| problem | No | ||
| replies | No | ||
| contract | Yes | ||
| statement | Yes | ||
| how_to_speak | No | ||
| next_actions | No |