审批加入申请
gwl_review_join_requestApprove or reject a pending group join request by ID, with an optional note. Approving creates membership only and requires owner or manage permission for the group class.
Instructions
批准或拒绝一条加入申请:approve=true 批准入组,false 拒绝。 批准只是建立成员关系,不会因此提权。 已处理过的再审批 409;目标用户在黑名单里 409;申请不存在 404。需要该组类的管理角色(class_role=owner 或权限含 manage),否则 403。
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": {
"request_id": "<request_id>"
},
"name": "gwl_review_join_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | 备注 / 附言(最多 200 个字符,上游超限返回 400)。 | |
| approve | No | true=批准入组,false=拒绝。默认 true。 | |
| request_id | Yes | 申请 id(路径参数)。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||