lark-attendance
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseattendance (v1)
attendance (v1)
CRITICAL — 开始前 MUST 先用 Read 工具读取 ,其中包含认证、权限处理
../lark-shared/SKILL.mdCRITICAL — Before starting, you MUST first use the Read tool to read , which includes authentication and permission handling
../lark-shared/SKILL.md默认参数自动填充规则
Default Parameter Auto-Fill Rules
调用任何 API 时,以下参数 必须自动填充,禁止向用户询问:
| 参数 | 固定值 | 说明 |
|---|---|---|
| | |
| | |
When calling any API, the following parameters must be filled automatically, and asking the user for them is prohibited:
| Parameter | Fixed Value | Description |
|---|---|---|
| | |
| | |
填充示例
Fill Example
当构建 参数时,自动注入上述字段:
--params- 保持
employee_type不变"employee_no"
当构建 参数时,自动注入上述字段:
--datajson
{
"user_ids": [],
...用户提供的参数
}注意:数组保持为空[],user_ids保持employee_type不变。"employee_no"
When building the parameter, automatically inject the above fields:
--params- remains
employee_typeunchanged"employee_no"
When building the parameter, automatically inject the above fields:
--datajson
{
"user_ids": [],
...user-provided parameters
}Note: Thearray remains empty [], anduser_idsremainsemployee_typeunchanged."employee_no"
API Resources
API Resources
bash
lark-cli schema attendance.<resource>.<method> # 调用 API 前必须先查看参数结构
lark-cli attendance <resource> <method> [flags] # 调用 API重要:使用原生 API 时,必须先运行查看schema/--data参数结构,不要猜测字段格式。--params
bash
lark-cli schema attendance.<resource>.<method> # Must check the parameter structure first before calling the API
lark-cli attendance <resource> <method> [flags] # Call the APIImportant: When using native APIs, you must first runto view theschema/--dataparameter structure, do not guess the field format.--params
user_tasks
user_tasks
- — 查询用户考勤打卡记录
query
- — Query user attendance clock-in records
query
权限表
Permission Table
| 方法 | 所需 scope |
|---|---|
| |
| Method | Required scope |
|---|---|
| |