Look up X user
lookup_x_userResolve an X handle to a numeric user ID and verify if they can receive DMs before drafting a direct message.
Instructions
Resolve an X @handle to a user id (and whether they can receive DMs from you). Useful before create_dm_draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | X username, with or without leading @. |