set_movie_watch_status
Update the watch status of a movie in your MyShows profile by specifying its ID and choosing from watching, cancelled, later, or remove options.
Instructions
Sets the watch status of a movie by its ID. :param movie_id: The ID of the movie to set the watch status for. :param status: The watch status to set ( "watching" - watching the movie, "cancelled" - stop watching the movie, "later" - the movie to watch later, "remove" - have not watched the movie yet ) :return: A dictionary containing the result of the operation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| movie_id | Yes | ||
| status | Yes |
Implementation Reference
- src/myshows_mcp/server.py:89-102 (handler)MCP tool handler for set_movie_watch_status, decorated with @mcp.tool() for registration and @tool_handler. Delegates to api_client.@mcp.tool() @tool_handler async def set_movie_watch_status(movie_id: int, status: str): """Sets the watch status of a movie by its ID. :param movie_id: The ID of the movie to set the watch status for. :param status: The watch status to set ( "watching" - watching the movie, "cancelled" - stop watching the movie, "later" - the movie to watch later, "remove" - have not watched the movie yet ) :return: A dictionary containing the result of the operation. """ return await api_client.set_movie_watch_status(movie_id=movie_id, status=status)
- Core implementation in MyShowsAPI class that makes the API request to set movie watch status.async def set_movie_watch_status(self, movie_id: int, status: str): """Sets the watch status of a movie by its ID. :param movie_id: The ID of the movie to set the watch status for. :param status: The watch status to set ("watching", "cancelled", "later", "remove"). :return: A dictionary containing the result of the operation. """ return await self._make_request( "manage.SetShowStatus", params={"id": int(movie_id), "status": status}, id=5 )