yuque_get_user_groups
Retrieve the list of teams a user belongs to, with optional role filtering and offset-based pagination.
Instructions
获取指定用户所属的团队列表
权限要求: read 参数:
id: 用户 ID 或 login
role: 角色过滤 (可选)
offset: 偏移量 (可选)
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": {
"id": "<id>"
},
"name": "yuque_get_user_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | No | ||
| offset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |