get_user_info
Retrieve a Twitter/X user's profile metadata by providing either their screen name or numeric user ID. Supply exactly one of these to return the profile data.
Instructions
Get a user's profile metadata by screen name OR numeric user ID.
Caller must provide exactly one of screen_name / user_id.
Args: screen_name: Twitter username (without @). user_id: Twitter numeric user ID.
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": "get_user_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| screen_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |