skylight_set_member_avatar
Set a family member's avatar to a custom photo from a local image file. Requires user confirmation before uploading.
Instructions
Set a family member's avatar to a custom photo from a local image file (uploaded as multipart/form-data). For a preset emoji avatar, use skylight_list_avatars + the avatar_id on create/update instead. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). The preview echoes the resolved absolute image_path, detected mime and size, and nothing is uploaded until it is confirmed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Category/member id. | |
| frameId | No | ||
| image_path | Yes | Absolute path to a local image file (jpg, jpeg, png, heic, gif, webp; max 20 MiB). Anything else — or a symlink, or a file whose contents do not match its extension — is refused. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |