SKILL.md
The Lark Integration service is running locally at http://localhost:8000.
This skill provides access to the following capabilities:
- Task Management:
- Create Task: POST /api/v1/tasks - Get Task: GET /api/v1/tasks/:taskid - Delete Task: DELETE /api/v1/tasks/:taskid
- Document Management (Docx):
- Create Document: POST /api/v1/docs - Get Document Info: GET /api/v1/docs/:doctoken - Get Raw Content: GET /api/v1/docs/:doctoken/raw - Get Blocks: GET /api/v1/docs/:doc_token/blocks
- Wiki Management:
- Create Node: POST /api/v1/wiki - Search Nodes: POST /api/v1/wiki/search - Get Node Info: GET /api/v1/wiki/nodes/:nodetoken - List Nodes: GET /api/v1/wiki/spaces/:spaceid/nodes - Move Node: POST /api/v1/wiki/spaces/:spaceid/nodes/:nodetoken/move - Update Title: POST /api/v1/wiki/spaces/:spaceid/nodes/:nodetoken/updatetitle - Move Docs to Wiki: POST /api/v1/wiki/spaces/:spaceid/nodes/movedocsto_wiki
- Docx Block Operations:
- Get Block: GET /api/v1/docx/v1/documents/:documentid/blocks/:blockid - Get Children: GET /api/v1/docx/v1/documents/:documentid/blocks/:blockid/children - Create Children: POST /api/v1/docx/v1/documents/:documentid/blocks/:blockid/children - Update Block: PATCH /api/v1/docx/v1/documents/:documentid/blocks/:blockid - Delete Children: DELETE /api/v1/docx/v1/documents/:documentid/blocks/:blockid/children/batch_delete - Convert Content: POST /api/v1/docx/v1/documents/blocks/convert
Automatic URL Handling
When a user provides a Feishu/Lark URL, automatically use the appropriate API to fetch its content.
Wiki URLs
Pattern: https://*.feishu.cn/wiki/:token Action: Call GET /api/v1/wiki/nodes/:token (e.g. https://tparts-global.feishu.cn/wiki/IqgjwXyXoi90jLkMMQccHs6Enz5 -> token: IqgjwXyXoi90jLkMMQccHs6Enz5)
Docx URLs
Pattern: https://*.feishu.cn/docx/:token Action: Call GET /api/v1/docs/:token
Refer to docs/openapi.yaml or README.md for payload details.