yearning_user_info
Retrieve the current user's profile, department, email, and list of authorized data sources. Use to verify permissions and available resources.
Instructions
查看当前登录用户的信息、部门、邮箱,以及有权查询的数据源列表。
对应 API:GET /api/v2/fetch/userinfo
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": "yearning_user_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | 用户信息(已脱敏,移除密码等敏感字段) | |
| sources | No | 可查询数据源列表 |