Get the logged-in user's profile
get_authorized_userConfirm the currently authorized AniList account by retrieving its profile, and fetch current list/notification settings before update_user calls to avoid overwriting them.
Instructions
[Requires login] Get the profile of the AniList account currently authorized via login_anilist/ANILIST_ACCESS_TOKEN — use this to confirm which account is connected. Also the authoritative source to fetch BEFORE an update_user call touching options.notificationOptions/options.disabledListActivity (confirmed live: full array replace, not merge by entry) or mediaListOptions.animeList/mangaList.customLists (confirmed live: same full-replace behavior) — read the current values here first and resend them in full alongside your changes. The sibling advancedScoring array carries a related but distinct risk instead: it's positional, not name-matched, so reordering/renaming its entries silently reinterprets already-scored list entries (see update_user's own advancedScoring field for detail) — fetch it here first too before changing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes |