| get_animeB | Fetches a list of anime from MyAnimeList based on a search query.
Args:
q (str): The search query for the anime.
limit (int): The number of results to return (default is 10 and max 100).
offset (int): The offset for pagination (default is 0).
|
| get_anime_detailsA | Fetches details of an anime by its ID from MyAnimeList.
Args:
anime_id (int): The ID of the anime to fetch details for.
fields (List[str]): List of fields to include in the response. If None, includes common fields:
id, title, main_pictures.
Valid fields: id, title, main_picture, alternative_titles, start_date, end_date,
synopsis, mean, rank, popularity, num_list_users, num_scoring_users, nsfw,
created_at, updated_at, media_type, status, genres, my_list_status, num_episodes,
start_season, broadcast, source, average_episode_duration, rating, pictures,
background, related_anime, related_manga, recommendations, studios, statistics.
Examples:
- To get the score: get_anime_details(30230, fields=["mean"])
- To get similar animes: get_anime_details(30230, fields=["recommendations"])
- To get genres and synopsis: get_anime_details(30230, fields=["genres", "synopsis"])
|
| get_anime_rankingA | Fetches anime rankings from MyAnimeList.
Args:
ranking_type (AnimeRanking): The type of ranking to fetch. Options:
"all", "airing", "upcoming", "tv", "ova", "movie", "special", "bypopularity", "favorite".
limit (int): The number of results to return (default is 10 and max 500).
offset (int): The offset for pagination (default is 0).
|
| get_seasonal_animeA | Fetches seasonal anime from MyAnimeList.
Args:
season (Season): The season to fetch. Options: "winter", "spring", "summer", "fall".
year (int): The year of the season.
sort (SeasonSort, optional): Sort order by "anime_score" or "anime_num_list_users". Default is None.
limit (int): The number of results to return (default is 10 and max 500).
offset (int): The offset for pagination (default is 0).
|
| get_anime_listA | Fetches an anime list for a user from MyAnimeList.
Args:
username (str): The username of the MyAnimeList user.
status (AnimeStatus): The status of the anime list to fetch. Options: "watching", "completed", "on_hold", "dropped", "plan_to_watch".
sort (AnimeStatusSort, optional): Sort order by "list_score", "list_updated_at", "anime_title" or "anime_start_date". Default is None.
limit (int): The number of results to return (default is 10 and max 500).
offset (int): The offset for pagination (default is 0).
|
| get_mangaA | Fetches a list of manga from MyAnimeList based on a search query.
Args:
q (str): The search query for the manga.
limit (int): The number of results to return (default is 10 and max 100).
offset (int): The offset for pagination (default is 0).
|
| get_manga_detailsA | Fetches details of a manga by its ID from MyAnimeList.
Args:
manga_id (int): The ID of the manga to fetch details for.
fields (List[str]): List of fields to include in the response. If None, includes common fields:
id, title, main_picture.
Valid fields: id, title, main_picture, alternative_titles, start_date, end_date, synopsis, mean,
rank, popularity, num_list_users, num_scoring_users, nsfw, created_at, updated_at, media_type,
status, genres, my_list_status, num_volumes, num_chapters, authors, pictures,
background, related_anime, related_manga, recommendations, serialization
Examples:
- To get the score: get_manga_details(30230, fields=["mean"])
- To get similar mangas: get_manga_details(30230, fields=["recommendations"])
- To get genres and synopsis: get_manga_details(30230, fields=["genres", "synopsis"])
|
| get_manga_rankingC | Fetches manga rankings from MyAnimeList.
Args:
ranking_type (MangaRanking): The type of ranking to fetch. Options:
"all", "manga", "novels", "oneshot", "doujin", "manhwa", "manhua", "bypopularity", "favorite".
limit (int): The number of results to return (default is 10 and max 500).
offset (int): The offset for pagination (default is 0).
|
| get_manga_listA | Fetches a manga list for a user from MyAnimeList.
Args:
username (str): The username of the MyAnimeList user.
status (MangaStatus): The status of the manga list to fetch. Options: "reading", "completed", "on_hold", "dropped", "plan_to_read".
sort (MangaStatusSort, optional): Sort order by "list_score", "list_updated_at", "manga_title" or "manga_start_date". Default is None.
limit (int): The number of results to return (default is 10 and max 500).
offset (int): The offset for pagination (default is 0).
|
| get_suggested_animeA | Fetches suggested anime for the current user from MyAnimeList.
Args:
limit (int): The number of results to return (default is 10 and max 100).
offset (int): The offset for pagination (default is 0).
|
| get_user_profileA | Fetches the profile of the current user from MyAnimeList.
Args:
fields (str, optional): Set to "anime_statistics" to include anime statistics. Default is None.
|
| delete_myanimelist_itemB | Deletes an anime from the authenticated user's MyAnimeList.
Args:
anime_id: The ID of the anime to delete.
|
| delete_mymangalist_itemD | Deletes an anime from the authenticated user's MyAnimeList.
Args:
anime_id: The ID of the anime to delete.
|
| update_myanimelistA | Updates an anime's status in the authenticated user's MyAnimeList.
Args:
anime_id: The ID of the anime to update.
status: The watch status (watching, completed, on_hold, dropped, plan_to_watch).
score: The score given to the anime (0-10).
num_watched_episodes: Number of episodes watched.
is_rewatching: Whether the anime is being rewatched.
priority: Priority of the anime (0-2).
num_times_rewatched: Number of times the anime was rewatched.
rewatch_value: Value of rewatching the anime (0-5).
tags: Comma-separated tags for the anime.
comments: Comments about the anime.
|
| update_mymangalistC | Updates a manga's status in the authenticated user's MyAnimeList.
Args:
manga_id: The ID of the manga to update.
status: The read status (reading, completed, on_hold, dropped, plan_to_read).
is_rereading: Whether the manga is being reread.
score: The score given to the manga (0-10).
num_volumes_read: Number of volumes read.
num_chapters_read: Number of chapters read.
priority: Priority of the manga (0-2).
num_times_reread: Number of times the manga was reread.
reread_value: Value of reread the manga (0-5).
tags: Comma-separated tags for the manga.
comments: Comments about the manga.
|