bluesky_get_liked_posts
Retrieve posts liked by a user on BlueSky social network. Use this tool to access liked content with pagination support for managing large collections.
Instructions
Get a list of posts liked by the user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of liked posts to return (default 50, max 100) | |
| cursor | No | Pagination cursor for next page of results |
Implementation Reference
- src/bluesky_mcp/server.py:124-141 (registration)Registers the 'bluesky_get_liked_posts' tool, including its description and input schema for limit and optional cursor parameters.types.Tool( name="bluesky_get_liked_posts", description="Get a list of posts liked by the user", inputSchema={ "type": "object", "properties": { "limit": { "type": "integer", "description": "Maximum number of liked posts to return (default 50, max 100)", "default": 50, }, "cursor": { "type": "string", "description": "Pagination cursor for next page of results", }, }, }, ),
- src/bluesky_mcp/server.py:238-244 (handler)Executes the 'bluesky_get_liked_posts' tool by calling the Bluesky API's get_likes method using the authenticated client's actor URI (IDENTIFIER), with provided limit and cursor.elif name == "bluesky_get_liked_posts": limit = arguments.get("limit", 50) cursor = arguments.get("cursor") response = await asyncio.to_thread( bluesky.client.app.bsky.feed.get_likes, {'uri': IDENTIFIER, 'limit': limit, 'cursor': cursor} )