Favourite or unfavourite a title
Add a title to your favourites, or remove it if it is already there.
MCP tool anilist_write → toggle_favourite
write
Returns whether the title is now a favourite. It reaches no one directly and one more call undoes it, so it does not ask for confirmation by default. Favourites are shown on your profile.
Parameters
| Name | Type | Description |
|---|---|---|
| type string required | string | ANIME or MANGA. |
| media_id integer required | integer | AniList media ID from search_media or list_media_list. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "anilist_write",
"arguments": {
"operation": "toggle_favourite",
"arguments": {
"type": "type",
"media_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"media_id": 154587,
"favourite": true
},
"isError": false
}