lark-attendance

Original🇨🇳 Chinese
Translated

Lark Attendance: Query your own attendance clock-in records

334.0kinstalls
Added on

NPX Install

npx skill4agent add larksuite/cli lark-attendance

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

attendance (v1)

CRITICAL — Before starting, you MUST first use the Read tool to read
../lark-shared/SKILL.md
, which includes authentication and permission handling

Default Parameter Auto-Fill Rules

When calling any API, the following parameters must be filled automatically, and asking the user for them is prohibited:
ParameterFixed ValueDescription
employee_type
"employee_no"
employee_type
is always equal to
"employee_no"
user_ids
[]
(empty array)
user_ids
is always equal to
[]

Fill Example

When building the
--params
parameter, automatically inject the above fields:
  • employee_type
    remains
    "employee_no"
    unchanged
When building the
--data
parameter, automatically inject the above fields:
json
{
  "user_ids": [],
  ...user-provided parameters
}
Note: The
user_ids
array remains empty [], and
employee_type
remains
"employee_no"
unchanged.

API Resources

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 API
Important: When using native APIs, you must first run
schema
to view the
--data
/
--params
parameter structure, do not guess the field format.

user_tasks

  • query
    — Query user attendance clock-in records

Permission Table

MethodRequired scope
user_tasks.query
attendance:task:readonly