文档/文件夹的协作者(加人、看谁有权限、移除)
feishu_permission_memberAdd, list, or remove Feishu cloud document collaborators and set view, edit, or full-access permissions using the document token.
Instructions
管云文档的协作者。action=add 把一个人加进协作者(perm=view 可读 / edit 可编辑 / full_access 可管理);action=list 看现在有哪些人、各自什么权限;action=remove 移除一个人。member_type=openid 时 member_id 传 open_id(ou_ 开头),先 feishu_user_lookup 拿到。注意 token 是云文档 token,不是消息附件。
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": {
"action": "<action>",
"token": "<token>"
},
"name": "feishu_permission_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| perm | No | action=add 时的权限,默认 view。 | |
| type | No | 资源类型,默认 docx。 | |
| token | Yes | 云文档/文件夹 token。 | |
| action | Yes | add 加人、list 看权限、remove 移除。 | |
| member_id | No | action=add/remove 时用:对方的 open_id 等。 | |
| member_type | No | action=add/remove 时用,默认 openid。 |