日历日程工具
本文档详细介绍日历和日程管理工具的使用方法。
⚠️ 重要提示
- 时区固定: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 | 第三方邮箱 |