Commit AI Coach care
commit_ai_coach_careApply a care action confirmed in the dashboard to a mascot, using a preview token to authorize feed, sleep, wake, walk, or nurse.
Instructions
Apply a care action that the user confirmed in the dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The care action to apply. | |
| locale | No | Display language hint (BCP 47). The dashboard view passes hostContext.locale through unchanged. | |
| mascotId | Yes | mascotId of the mascot to act on. | |
| previewToken | Yes | The previewToken returned by prepare_ai_coach_care (valid for 60 seconds). | |
| idempotencyKey | No | Key that keeps a resent click from being applied twice. The server generates one when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| mascots | Yes | ||
| preview | No | ||
| appLocale | No | ||
| updatedAt | Yes | ||
| appVersion | No | ||
| careResult | No | ||
| connection | Yes | ||
| capabilities | Yes | ||
| protocolVersion | Yes | ||
| viewPreferences | No |