Set my coaching brain rules
set_my_brain_rulesUse this when a Phorme coach describes how they coach and wants their coaching brain to follow it, for example "every session starts with mobility, main lifts stay in 3 to 6 reps, never two hard days in a row". Sent with the coach's words, it reads them into the brain's rules and saves nothing: it returns the rules, one plain line per rule, and what no rule covers yet. Sent with those rules and confirmation, it saves them, and Phorme checks the brain on sample members and says whether every plan still works. Members train by the saved rules from their next session. It needs a connected Phorme account that owns the brain; set confirmation to true only after the coach said yes to the rules as read back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | How the coach coaches, in their own words from this conversation. Never invented. Sent to read a draft. | |
| rules | No | The rules a draft returned, unchanged or as the coach corrected them: method, voice, banned_phrases and share. Sent to save. | |
| brain_id | Yes | The brain id from the coach's brains. | |
| confirmation | No | True only after the coach confirmed these rules. Needed to save. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| said | No | One plain line per rule the draft read: key and line. | |
| rules | Yes | ||
| saved | Yes | False for a draft, true once saved. | |
| unread | No | Parts of the coach's words no rule covers yet. | |
| brain_id | Yes | ||
| preview_ok | No | After a save: whether every sample member still gets a plan that works. | |
| console_url | No | ||
| requires_confirmation | No |