CRITICAL — Before starting, you MUST first use the Read tool to read ../lark-shared/SKILL.md, which contains authentication and permission handling
Default parameter auto-fill rules
When calling any API, the following parameters must be automatically filled; asking the user is prohibited:
| Parameter | Fixed value | Description |
|---|---|---|
employee_type |
"employee_no" |
employee_typeAlways equals"employee_no" |
user_ids |
[](empty array) |
user_idsAlways equals[] |
Fill example
When constructing --params parameter, automatically inject the above fields:
employee_typeKeep"employee_no"unchanged
When constructing --data parameter, automatically inject the above fields:
{
"user_ids": [],
...用户提供的参数
}
Note:
user_idsarray remains empty [],employee_typekeep"employee_no"unchanged.
API Resources
lark-cli schema attendance.<resource>.<method> # 调用 API 前必须先查看参数结构
lark-cli attendance <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.
user_tasks
query— Query user attendance clock-in records
Permission table
| Method | Required scope |
|---|---|
user_tasks.query |
attendance:task:readonly |