CRITICAL — Before starting, you MUST first use the Read tool to read ../lark-shared/SKILL.md, which contains authentication and permission handling
Search tips: If the user's query only specifies a task name (for example, "complete task Lobster No. 1"), please directly use the
+get-my-tasks --query "龙虾一号"command to search (do not include the--completeparameter, so that both incomplete and completed tasks can be searched at the same time). User identity recognition: In the user identity scenario, if the user mentions "me" (for example, "assign to me", "created by me"), please by default obtain the currently logged-in user'sopen_idas the corresponding parameter value. Terminology understanding: If the user mentions "todo", you should consider whether it refers to "task", and prioritize trying to use the commands provided by this Skill to handle it. Friendly output: When outputting the execution result of a task (or list) to the user, it is recommended to also extract and output theurlfield (task link) from the command return result, so that the user can directly click to jump and view the details.
Shortcuts
+create— Create a task+update— Update a task+comment— Add a comment to a task+complete— Complete a task+reopen— Reopen a task+assign— Assign or remove members from a task+followers— Manage task followers+reminder— Manage task reminders+get-my-tasks— List tasks assigned to me+tasklist-create— Create a tasklist and batch add tasks+tasklist-task-add— Add existing tasks to a tasklist+tasklist-members— Manage tasklist members
API Resources
lark-cli schema task.<resource>.<method> # 调用 API 前必须先查看参数结构
lark-cli task <resource> <method> [flags] # 调用 API
Important: When using the native API, you must first run
schemato view the--data/--paramsparameter structure; do not guess the field format.
tasks
create— Create taskdelete— Delete taskget— Get task detailslist— List taskspatch— Update task
tasklists
add_members— Add list memberscreate— Create listdelete— Delete listget— Get list detailslist— Get list listpatch— Update listremove_members— Remove list memberstasks— Get list task list
subtasks
create— Create subtasklist— Get a task's subtask list
members
add— Add task membersremove— Remove task members
Permission table
| Method | Required scope |
|---|---|
tasks.create |
task:task:write |
tasks.delete |
task:task:write |
tasks.get |
task:task:read |
tasks.list |
task:task:read |
tasks.patch |
task:task:write |
tasklists.add_members |
task:tasklist:write |
tasklists.create |
task:tasklist:write |
tasklists.delete |
task:tasklist:write |
tasklists.get |
task:tasklist:read |
tasklists.list |
task:tasklist:read |
tasklists.patch |
task:tasklist:write |
tasklists.remove_members |
task:tasklist:write |
tasklists.tasks |
task:tasklist:read |
subtasks.create |
task:task:write |
subtasks.list |
task:task:read |
members.add |
task:task:write |
members.remove |
task:task:write |