SuperAPI AI Directory

lark-task

General & other

View repository

Updated 10-16 06:23

About this skill

task (v2)

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 --complete parameter, 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's open_id as 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 the url field (task link) from the command return result, so that the user can directly click to jump and view the details.

Shortcuts

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 schema to view the --data / --params parameter structure; do not guess the field format.

tasks

  • create — Create task
  • delete — Delete task
  • get — Get task details
  • list — List tasks
  • patch — Update task

tasklists

  • add_members — Add list members
  • create — Create list
  • delete — Delete list
  • get — Get list details
  • list — Get list list
  • patch — Update list
  • remove_members — Remove list members
  • tasks — Get list task list

subtasks

  • create — Create subtask
  • list — Get a task's subtask list

members

  • add — Add task members
  • remove — 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