unrepost
Remove a repost from your Bluesky Social feed to manage your content and interactions.
Instructions
Remove a repost of another user's post.
Args:
ctx: MCP context
repost_uri: URI of the repost to remove
Returns:
Status of the unrepost operation
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repost_uri | Yes |
Implementation Reference
- server.py:383-414 (handler)The main handler function for the 'unrepost' tool. It takes a repost_uri, authenticates the Bluesky client, calls bluesky_client.unrepost(repost_uri), and returns success or error status.@mcp.tool() def unrepost( ctx: Context, repost_uri: str, ) -> Dict: """Remove a repost of another user's post. Args: ctx: MCP context repost_uri: URI of the repost to remove Returns: Status of the unrepost operation """ try: bluesky_client = get_authenticated_client(ctx) success = bluesky_client.unrepost(repost_uri) if success: return { "status": "success", "message": "Repost removed successfully", } else: return { "status": "error", "message": "Failed to remove repost", } except Exception as e: error_msg = f"Failed to unrepost: {str(e)}" return {"status": "error", "message": error_msg}