Skip to content

Calendar Tools

This document details the calendar and event management tools.

⚠️ Important Notes

  • Timezone: Asia/Shanghai (UTC+8)
  • Time Format: ISO 8601 / RFC 3339, e.g., 2026-02-28T14:00:00+08:00
  • user_open_id strongly recommended: Get from SenderId to ensure user can see the event

Tool List

ToolFunction
feishu_calendar_calendarManage calendars
feishu_calendar_eventManage events
feishu_calendar_event_attendeeManage attendees
feishu_calendar_freebusyQuery free/busy

Usage Examples

Create Meeting

json
{
  "action": "create",
  "summary": "Project Review Meeting",
  "description": "Discuss Q1 project progress",
  "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"}
  ]
}

Query User Free/Busy

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"]
}

Update Event Time

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"
}

Attendee Permissions

ValueDescription
noneNo permission
can_see_othersCan see attendee list
can_invite_othersCan invite others
can_modify_eventCan edit event (recommended)

ID Types

TypeFormatDescription
Userou_xxxUser open_id
Groupoc_xxxGroup chat ID
Roomomm_xxxMeeting room ID
Emailuser@domain.comThird-party email

Released under the MIT License.