Get Current User
get_current_userRetrieve the authenticated user's profile from ModelScope to personalize conversations or provide required context for subsequent API calls.
Instructions
Get current authenticated user information from ModelScope.
Use this when a request is about the user's own profile for ModelScope. Or when information is missing to build other tool calls.
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_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| reason | No | Reason for failed authentication | |
| username | No | Username | |
| avatar_url | No | Avatar URL | |
| description | No | Description | |
| authenticated | Yes | Whether the user is authenticated | |
| modelscope_url | No | Profile page URL on ModelScope |