Loading...
Loading...
WeCom to-do list query skill, which supports filtering by creation time and reminder time, as well as pagination. It is applicable to scenarios where users need to browse the to-do overview, such as when they say "Check my to-do list", "What to-dos do I have", "What are my to-dos this week", "What to-dos are there recently", "Check my to-dos", "List all to-dos", etc. Note: This skill only returns to-do summary information (excluding content and assignees). If you need complete details, please use it together with wecomcli-get-todo-detail.
npx skill4agent add wecomteam/wecom-cli wecomcli-get-todo-listis a command line program provided by WeCom, and all operations are completed by executingwecom-clicommands.wecom-cli
wecom-cliwecomcli-get-todo-detailhas_moretruewecom-cli todo get_todo_list '<json格式的入参>'| Parameter | Type | Required | Description |
|---|---|---|---|
| string | ❌ | Creation start time, format: |
| string | ❌ | Creation end time, format: |
| string | ❌ | Reminder start time, format: |
| string | ❌ | Reminder end time, format: |
| number | ❌ | Maximum number of returned items, default 10, maximum 20 |
| string | ❌ | Pagination cursor, not passed for the first request, pass the |
{
"errcode": 0,
"errmsg": "ok",
"index_list": [
{
"todo_id": "TODO_ID",
"todo_status": 1,
"user_status": 1,
"creator_id": "CREATOR_ID",
"remind_time": "2025-06-01 09:00:00",
"create_time": "2025-01-15 10:30:00",
"update_time": "2025-01-16 14:20:00"
}
],
"next_cursor": "NEXT_CURSOR",
"has_more": false
}| Field | Type | Description |
|---|---|---|
| array | To-do list |
| string | Unique to-do ID |
| number | To-do status: |
| number | User status: |
| string | Creator ID |
| string | Reminder time |
| string | Creation time |
| string | Update time |
| string | Next page cursor |
| boolean | Whether there are more records |
The list returns to-do summary information (excluding content and assignees). After getting the list, you must callto get complete details before displaying them to the user.wecomcli-get-todo-detail
wecom-cli todo get_todo_list '{}'wecom-cli todo get_todo_detail '{"todo_id_list": ["返回的TODO_ID_1", "返回的TODO_ID_2"]}'has_moretruewecom-cli todo get_todo_list '{"create_begin_time": "2025-03-01 00:00:00", "create_end_time": "2025-03-31 23:59:59"}'cursorwecom-cli todo get_todo_list '{"limit": 20}'wecom-cli todo get_todo_list '{"limit": 20, "cursor": "CURSOR_1"}'cursorhas_moretruenext_cursorcursorhas_morefalseYYYY-MM-DD HH:mm:sstodo_status012user_status012errcode0errmsgwecomcli-get-todo-detailhas_moretrue