set_movie_watch_status
Update the watch status of a movie by its ID, allowing you to mark it as watching, cancelled, watch later, or remove from your list.
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 registration and handler for set_movie_watch_status. Includes schema via type hints and docstring. Delegates to MyShowsAPI 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)
- API client helper method implementing the RPC call to MyShows 'manage.SetShowStatus' for setting 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 )