Loading...
Loading...
Compare original and translation side by side
2026-02-28T17:00:00+08:002026-02-28T17:00:00+08:00| 用户意图 | 工具 | action | 必填参数 | 强烈建议 | 常用可选 |
|---|---|---|---|---|---|
| 新建待办 | feishu_task_task | create | summary | current_user_id(SenderId) | members, due, description |
| 查未完成任务 | feishu_task_task | list | - | completed=false | page_size |
| 获取任务详情 | feishu_task_task | get | task_guid | - | - |
| 完成任务 | feishu_task_task | patch | task_guid, completed_at | - | - |
| 反完成任务 | feishu_task_task | patch | task_guid, completed_at="0" | - | - |
| 改截止时间 | feishu_task_task | patch | task_guid, due | - | - |
| 创建清单 | feishu_task_tasklist | create | name | - | members |
| 查看清单任务 | feishu_task_tasklist | tasks | tasklist_guid | - | completed |
| 添加清单成员 | feishu_task_tasklist | add_members | tasklist_guid, members[] | - | - |
| User Intent | Tool | action | Required Parameters | Highly Recommended | Common Optional |
|---|---|---|---|---|---|
| Create To-Do | feishu_task_task | create | summary | current_user_id (SenderId) | members, due, description |
| Query Incomplete Tasks | feishu_task_task | list | - | completed=false | page_size |
| Get Task Details | feishu_task_task | get | task_guid | - | - |
| Complete Task | feishu_task_task | patch | task_guid, completed_at | - | - |
| Revert Task Completion | feishu_task_task | patch | task_guid, completed_at="0" | - | - |
| Modify Due Date | feishu_task_task | patch | task_guid, due | - | - |
| Create Tasklist | feishu_task_tasklist | create | name | - | members |
| View Tasks in Tasklist | feishu_task_tasklist | tasks | tasklist_guid | - | completed |
| Add Tasklist Members | feishu_task_tasklist | add_members | tasklist_guid, members[] | - | - |
user_access_tokencurrent_user_idmemberscurrent_user_idcurrent_user_iduser_access_tokencurrent_user_idcurrent_user_idmemberscurrent_user_id{
"members": [
{"id": "ou_xxx", "role": "assignee"}, // 负责人
{"id": "ou_yyy", "role": "follower"} // 关注人
]
}idopen_id{
"members": [
{"id": "ou_xxx", "role": "assignee"}, // Assignee
{"id": "ou_yyy", "role": "follower"} // Follower
]
}open_ididtasklist.creatememberstasklist.membersmembersmembersmemberstasklist.creatememberstasklist.membersmembersmembersmembers{
"action": "patch",
"task_guid": "xxx",
"completed_at": "2026-02-26 15:30:00" // 北京时间字符串
}{
"action": "patch",
"task_guid": "xxx",
"completed_at": "0" // 特殊值 "0" 表示反完成
}{
"completed_at": "1740545400000" // 毫秒时间戳字符串
}{
"action": "patch",
"task_guid": "xxx",
"completed_at": "2026-02-26 15:30:00" // Beijing time string
}{
"action": "patch",
"task_guid": "xxx",
"completed_at": "0" // Special value "0" means revert completion
}{
"completed_at": "1740545400000" // Millisecond timestamp string
}| 成员类型 | 角色 | 说明 |
|---|---|---|
| user(用户) | owner | 所有者,可转让所有权 |
| user(用户) | editor | 可编辑,可修改清单和任务 |
| user(用户) | viewer | 可查看,只读权限 |
| chat(群组) | editor/viewer | 整个群组获得权限 |
| Member Type | Role | Description |
|---|---|---|
| user | owner | Owner, can transfer ownership |
| user | editor | Can edit, modify tasklist and tasks |
| user | viewer | Can view, read-only permission |
| chat | editor/viewer | The entire group gets the permission |
{
"action": "create",
"summary": "准备周会材料",
"description": "整理本周工作进展和下周计划",
"current_user_id": "ou_发送者的open_id",
"due": {
"timestamp": "2026-02-28 17:00:00",
"is_all_day": false
},
"members": [
{"id": "ou_协作者的open_id", "role": "assignee"}
]
}summarycurrent_user_idmembers{
"action": "create",
"summary": "Prepare Weekly Meeting Materials",
"description": "Organize this week's work progress and next week's plan",
"current_user_id": "ou_sender's_open_id",
"due": {
"timestamp": "2026-02-28 17:00:00",
"is_all_day": false
},
"members": [
{"id": "ou_collaborator's_open_id", "role": "assignee"}
]
}summarycurrent_user_idmembers{
"action": "list",
"completed": false,
"page_size": 20
}{
"action": "list",
"completed": false,
"page_size": 20
}{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "2026-02-26 15:30:00"
}{
"action": "patch",
"task_guid": "task_guid",
"completed_at": "2026-02-26 15:30:00"
}{
"action": "patch",
"task_guid": "任务的guid",
"completed_at": "0"
}{
"action": "patch",
"task_guid": "task_guid",
"completed_at": "0"
}{
"action": "create",
"name": "产品迭代 v2.0",
"members": [
{"id": "ou_xxx", "role": "editor"},
{"id": "ou_yyy", "role": "viewer"}
]
}{
"action": "create",
"name": "Product Iteration v2.0",
"members": [
{"id": "ou_xxx", "role": "editor"},
{"id": "ou_yyy", "role": "viewer"}
]
}{
"action": "tasks",
"tasklist_guid": "清单的guid",
"completed": false
}{
"action": "tasks",
"tasklist_guid": "tasklist_guid",
"completed": false
}{
"action": "create",
"summary": "年度总结",
"due": {
"timestamp": "2026-03-01 00:00:00",
"is_all_day": true
}
}{
"action": "create",
"summary": "Annual Summary",
"due": {
"timestamp": "2026-03-01 00:00:00",
"is_all_day": true
}
}| 错误现象 | 根本原因 | 解决方案 |
|---|---|---|
| 创建后无法编辑任务 | 创建时未将自己加入 members | 创建时至少将当前用户(SenderId)加为 assignee 或 follower |
| patch 失败提示 task_guid 缺失 | 未传 task_guid 参数 | patch/get 必须传 task_guid |
| tasks 失败提示 tasklist_guid 缺失 | 未传 tasklist_guid 参数 | tasklist.tasks action 必须传 tasklist_guid |
| 反完成失败 | completed_at 格式错误 | 使用 |
| 时间不对 | 使用了 Unix 时间戳 | 改用 ISO 8601 格式(带时区): |
| Error Phenomenon | Root Cause | Solution |
|---|---|---|
| Cannot edit task after creation | Did not add yourself to members when creating | At least add the current user (SenderId) as assignee or follower when creating |
| patch fails with task_guid missing prompt | Did not pass task_guid parameter | Must pass task_guid for patch/get |
| tasks fails with tasklist_guid missing prompt | Did not pass tasklist_guid parameter | Must pass tasklist_guid for tasklist.tasks action |
| Revert completion fails | Incorrect completed_at format | Use the string |
| Incorrect time | Used Unix timestamp | Use ISO 8601 format (with time zone): |
任务清单(Tasklist)
└─ 自定义分组(Section,可选)
└─ 任务(Task)
├─ 成员:负责人(assignee)、关注人(follower)
├─ 子任务(Subtask)
├─ 截止时间(due)、开始时间(start)
└─ 附件、评论task_guidtasklist_guidTasklist
└─ Custom Section (Optional)
└─ Task
├─ Members: assignee, follower
├─ Subtask
├─ Due Date, Start Time
└─ Attachments, Commentstask_guidtasklist_guidtask.guidlisttasklist.guidlisttask.guidlisttasklist.guidlisttasklists{
"action": "create",
"summary": "任务标题",
"tasklists": [
{
"tasklist_guid": "清单的guid",
"section_guid": "分组的guid(可选)"
}
]
}tasklists{
"action": "create",
"summary": "Task Title",
"tasklists": [
{
"tasklist_guid": "tasklist_guid",
"section_guid": "section_guid (optional)"
}
]
}repeat_rule{
"action": "create",
"summary": "每周例会",
"due": {"timestamp": "2026-03-03 14:00:00", "is_all_day": false},
"repeat_rule": "FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"
}repeat_rule{
"action": "create",
"summary": "Weekly Meeting",
"due": {"timestamp": "2026-03-03 14:00:00", "is_all_day": false},
"repeat_rule": "FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"
}