SuperAPI AI Directory

email-lark

Office & productivity

View repository

Updated 10-15 17:34

About this skill

email-lark

Feishu mail group management: query the mail group list, view mail group details, create a mail group.

Call

Call through the channel tool's action parameter:

Action Description
list_mailgroups List mail groups
get_mailgroup Get mail group details
create_mailgroup Create a new mail group

Parameters

list_mailgroups

Parameter Type Required Description
page_size integer No Number per page (default 20)
page_token string No Pagination token

get_mailgroup

Parameter Type Required Description
mailgroup_id string Yes Mail group ID

create_mailgroup

Parameter Type Required Description
email string No Mail group address
name string No Mail group name
description string No Mail group description

Example

列出所有邮件组
-> channel(action="list_mailgroups")

查看邮件组详情
-> channel(action="get_mailgroup", mailgroup_id="mg_xxx")

创建邮件组
-> channel(action="create_mailgroup", email="team@company.com", name="Team Group")

Automatic execution principles

  • Zero-parameter query: When the user says "take a look at the mail groups", directly call channel(action="list_mailgroups"), without any parameters.
  • No interactive menus: Do not give options for the user to choose from; directly perform the most reasonable operation.
  • Chained automatic execution: After listing mail groups, if the user wants to see details, automatically extract the mailgroup_id and call get_mailgroup。

Security level

  • list_mailgroups / get_mailgroup: L1 read-only, no approval required
  • create_mailgroup: L3 high impact, approval required