Skip to content

Commit 934e825

Browse files
committed
docs(feishu): add pagination parameter docs for drive list
1 parent cbec0db commit 934e825

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

  • extensions/feishu/skills/feishu-drive

extensions/feishu/skills/feishu-drive/SKILL.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,27 @@ From URL `https://xxx.feishu.cn/drive/folder/ABC123` → `folder_token` = `ABC12
2020
{ "action": "list" }
2121
```
2222

23-
Root directory (no folder_token).
23+
Root directory (no folder_token). Returns first page (max 10 items).
2424

2525
```json
2626
{ "action": "list", "folder_token": "fldcnXXX" }
2727
```
2828

29-
Returns: files with token, name, type, url, timestamps.
29+
Returns first page. Supports optional pagination params:
30+
31+
```json
32+
{ "action": "list", "folder_token": "fldcnXXX", "page_size": 50, "page_token": "cursor_2" }
33+
```
34+
35+
```json
36+
{ "action": "list", "folder_token": "fldcnXXX", "all": true }
37+
```
38+
39+
- `page_size`: Items per page (default/max varies by API)
40+
- `page_token`: Cursor from previous response's `next_page_token`
41+
- `all`: If true, auto-fetches all pages (bounded at 100)
42+
43+
Returns: `{ files: [...], has_more, next_page_token }`.
3044

3145
### Get File Info
3246

0 commit comments

Comments
 (0)