Look up an X user
x_userLook up an X user by @username, username, or numeric user ID to retrieve read-only profile data for account research and verification.
Instructions
Look up an X user by @username, username, or numeric user ID. Read-only.
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": {
"user": "<user>"
},
"name": "x_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Username with optional @, or numeric user ID. | |
| expansions | No | X API user expansions such as pinned_post_id. | |
| post_fields | No | Mapped to post.fields for expanded posts. | |
| user_fields | No | Mapped to user.fields. |