get_user_last_tweets
Fetch the most recent tweets from a Twitter/X user. Use userName or userId to get tweets sorted by creation time, with an option to include replies.
Instructions
⚠️ ONLY for 'latest / recent / what's new' queries about a user. DO NOT use for date-range queries (e.g. 'tweets from January 2026', 'tweets last week', 'tweets between X and Y', 'tweets in 2025'). For specific dates / older tweets, use search_tweets with query like 'from:elonmusk since:2026-01-01 until:2026-02-01'.
Fetch the MOST RECENT tweets posted by a Twitter/X user, sorted by created_at descending (newest first). Provide EITHER userName (screen name, no @) OR userId (numeric). Use userId when known — handles can change. Set includeReplies=true to include the user's reply tweets in addition to top-level tweets. Paginates via cursor (~20 per page).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userName | No | Twitter/X screen name without @ (e.g. 'elonmusk'). Provide EITHER userName OR userId. | |
| userId | No | Twitter/X numeric user ID (e.g. '44196397'). Provide EITHER userName OR userId. Prefer userId if known — handles can change. | |
| cursor | No | Pagination cursor; omit for first page. | |
| includeReplies | No | Include the user's reply tweets in addition to top-level tweets. Default false — only top-level tweets. |