Twitter/X User Profile
twitter.users.profileGet a Twitter/X user profile by username. Returns display name, bio, follower/following count, tweet count, verified status, profile image, location, and account creation date.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "twitter.users.profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Twitter/X numeric user ID as alternative to username | |
| username | No | Twitter/X username without @ (e.g. "elonmusk", "OpenAI") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |