getUserBookmarks
Retrieve a user's saved posts from X.com by providing their user ID, with options for pagination and customizing returned data fields.
Instructions
Get a user's bookmarked posts
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "getUserBookmarks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The user ID whose bookmarks to retrieve | |
| max_results | No | Maximum number of results | |
| pagination_token | No | Token for pagination | |
| expansions | No | Comma-separated list of expansion fields | |
| tweet.fields | No | Comma-separated list of tweet fields to include | |
| user.fields | No | Comma-separated list of user fields to include |