unlike_post
Remove a like from a previously liked post on Bluesky Social MCP by specifying the post's URI. Simplifies post interaction management.
Instructions
Unlike a previously liked post.
Args:
ctx: MCP context
like_uri: URI of the like.
Returns:
Status of the unlike operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| like_uri | Yes |
Implementation Reference
- server.py:267-290 (handler)The main handler function for the 'unlike_post' tool, decorated with @mcp.tool() for registration. It authenticates via get_authenticated_client and calls bluesky_client.unlike(like_uri). The function signature defines the input schema implicitly.@mcp.tool() def unlike_post( ctx: Context, like_uri: str, ) -> Dict: """Unlike a previously liked post. Args: ctx: MCP context like_uri: URI of the like. Returns: Status of the unlike operation """ try: bluesky_client = get_authenticated_client(ctx) bluesky_client.unlike(like_uri) return { "status": "success", "message": "Post unliked successfully", } except Exception as e: error_msg = f"Failed to unlike post: {str(e)}" return {"status": "error", "message": error_msg}