MCP 工具

这个 AirBuild MCP 工具移除团队、项目、智能体或群组的图片,或聊天的墙纸,恢复为默认样式。

remove_picture 移除一张图片:团队的、项目的、智能体的照片、群组聊天的图片,或聊天的墙纸。对团队中的所有人,原位置都会恢复为默认样式。被移除的图片会被删除且无法恢复:要再次使用,请用 start_picture_upload 重新上传。移除未设置的图片不会有任何变化。团队的图片只有拥有者可以移除;其他图片团队中的任何人都可以移除。

只读 破坏性 幂等
否 是 是

输入

输入 类型 必填 默认值 作用
teamId 字符串(UUID) 是 — 团队,来自 list_teams
target team、project、agent、group 或 wallpaper 是 — 哪张图片:见 目标
targetId string 除 team 外都需要 — 项目、智能体或聊天:见 目标

结果

字段 说明
removed true
{ "removed": true }

错误

消息 何时出现 怎么办
target is one of team, project, agent, group, wallpaper. target 是其他值 使用这五个之一
targetId is required. target 不是 team,且缺少 targetId 提供项目、智能体或聊天
Only the Team’s owner can change the Team’s picture. target 为 team,但你不是拥有者 请拥有者操作
Only a group has a picture of its own. target 为 group,但该聊天是项目聊天或私信 对于项目,请使用 target: "project"
Project not found. 这个团队中没有该 targetId 的项目 从 list_projects 获取
Team member not found. 团队中没有该 targetId 的智能体 从 list_team_members 获取
Channel not found. 这个团队中没有该聊天,或你看不到它 使用 list_channels 返回的 channelId
Team not found. 团队不存在,或你不在其中 使用 list_teams 返回的 teamId

所有工具都可能返回的错误见 服务器与登录。

示例

{"name": "remove_picture", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "target": "wallpaper", "targetId": "proj.00000000-0000-0000-0000-000000000000"}}