Skip to content

日历日程工具

本文档详细介绍日历和日程管理工具的使用方法。

⚠️ 重要提示

  • 时区固定:Asia/Shanghai (UTC+8)
  • 时间格式:ISO 8601 / RFC 3339,如 2026-02-28T14:00:00+08:00
  • user_open_id 强烈建议:从 SenderId 获取,确保用户能看到日程

工具列表

工具功能
feishu_calendar_calendar管理日历
feishu_calendar_event管理日程
feishu_calendar_event_attendee管理参会人
feishu_calendar_freebusy查询忙闲

使用示例

创建会议

json
{
  "action": "create",
  "summary": "项目复盘会议",
  "description": "讨论 Q1 项目进展",
  "start_time": "2026-02-28T14:00:00+08:00",
  "end_time": "2026-02-28T15:30:00+08:00",
  "user_open_id": "ou_xxx",
  "attendees": [
    {"type": "user", "id": "ou_yyy"},
    {"type": "user", "id": "ou_zzz"}
  ]
}

查询用户忙闲

json
{
  "action": "list",
  "time_min": "2026-02-28T09:00:00+08:00",
  "time_max": "2026-02-28T18:00:00+08:00",
  "user_ids": ["ou_xxx", "ou_yyy"]
}

修改日程时间

json
{
  "action": "patch",
  "event_id": "xxx_0",
  "start_time": "2026-02-28T15:00:00+08:00",
  "end_time": "2026-02-28T16:00:00+08:00"
}

搜索日程

json
{
  "action": "search",
  "query": "项目会议"
}

参会人权限

说明
none无权限
can_see_others可查看参与人列表
can_invite_others可邀请他人
can_modify_event可编辑日程(推荐)

ID 类型

类型格式说明
用户ou_xxx用户 open_id
oc_xxx群聊 ID
会议室omm_xxx会议室 ID
邮箱user@domain.com第三方邮箱

Released under the MIT License.