Home / Servers / X (Twitter) API / create_users_bookmark

Create Bookmark

An MCP tool from the X (Twitter) API server, hosted on mcp.hjlabs.in.

Create Bookmark Adds one or more Posts to the authenticated user's Bookmarks. Supply tweet_id for a single Post, or tweet_ids (at most 25) to bookmark several in one request. Optional folder_id applies to every… [POST /2/users/{id}/bookmarks]

Name on the gateway: x_api__create_users_bookmark · may change things.

Parameters

NameTypeDescription
id requiredstringUnique identifier of a User
folder_idstringOptional ID of the Bookmark folder to add the Post(s) to. When omitted, Posts…
tweet_id requiredstringThe ID of the Post to add to the user's Bookmarks. Mutually exclusive with…
tweet_idsarrayPost IDs to add to the user's Bookmarks. At most 25. Mutually exclusive with…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "x_api__create_users_bookmark",
  "arguments": {
    "id": "…",
    "tweet_id": "…"
  }
}

Or connect the X (Twitter) API server directly, which lists 258 tools including this one:

Run in your terminal
claude mcp add --transport http hj-x-api https://mcp.hjlabs.in/mcp/x-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create bookmark tool with id set to ….

More from X (Twitter) API