Read a linux.do user
get_userFetch a user's public profile and optional activity totals or recent topics to identify and judge the author of a post; absent values mean not returned, not zero.
Instructions
Read one user's profile, optionally with their activity totals.
Use this to judge who wrote a post; use get_topic for the posts themselves. Anonymous reads see public profiles only, and trust-level gated fields can be absent — an absent number means "not returned", never zero.
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": "<username>"
},
"name": "get_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Login name, not the display name. | |
| include_summary | No | Also fetch activity totals and the user's recent topics. Costs a second upstream call; skip it when only the profile matters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | User id. | |
| name | No | Display name, often Chinese on this forum. | |
| title | No | Profile title, when the user set one. | |
| summary | No | Activity totals; null unless include_summary was requested. | |
| username | Yes | Login name; the key for every user route. | |
| created_at | Yes | ISO 8601 account creation timestamp. | |
| badge_count | No | Badges the user earned. | |
| bio_excerpt | No | Short bio, plain text. | |
| trust_level | No | Discourse trust level, 0 to 4. | |
| last_seen_at | No | ISO 8601 last visit. | |
| recent_topics | No | Topics the user created, newest first; summary call only. These cards are sparser than a browse_topics row: views, reply_count, and last_posted_at are normally absent (null), not zero. | |
| time_read_seconds | No | Reading time in seconds, as Discourse counts it. | |
| profile_view_count | No | Profile page views. |