get_user
Resolve a Sleeper username or user ID to a public profile, returning user_id, username, display name, and avatar for use in league and draft queries.
Instructions
Resolve a Sleeper username or user ID to its public user profile.
Returns the user's user_id, username, display name, and avatar identifier. Use this first when only a username is known, then pass the returned user_id to get_user_leagues or get_user_drafts.
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": {
"username_or_user_id": "<username_or_user_id>"
},
"name": "get_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username_or_user_id | Yes | A Sleeper username or numeric user_id. Usernames are the usual starting point; returned user_id values are stable IDs used by league and draft tools. |