Loading...
Loading...
Access and search Lark/Feishu cloud documents with user permissions (飞书云文档权限访问)
npx skill4agent add serendipityoneinc/srp-claude-code-marketplace lark-docs搜索包含'OKR'的文档
Search for documents containing 'product roadmap'获取这个文档的内容:https://example.feishu.cn/docx/abc123
Get the content of this document: https://example.feishu.cn/wiki/xyz789在知识库中搜索关于'架构设计'的内容
Search wiki for 'system architecture' documentationmcp__lark__docx_builtin_searchmcp__lark__wiki_v1_node_searchsearch_keydocs_typesowner_idschat_idscountoffsetmcp__lark__docx_v1_document_rawContentmcp__lark__wiki_v2_space_getNodedocument_idlangmcp__lark__drive_v1_permissionMember_createvieweditfull_access1. User: "搜索包含'产品路线图'的文档"
2. Assistant uses: mcp__lark__docx_builtin_search
- search_key: "产品路线图"
- count: 10
3. Display results with titles and URLs
4. User: "打开第一个文档"
5. Assistant uses: mcp__lark__docx_v1_document_rawContent
- document_id: extracted from URL
6. Display document content1. User: "Show me the engineering wiki"
2. Assistant uses: mcp__lark__wiki_v1_node_search
- query: "engineering"
3. Display wiki pages and their hierarchy
4. User: "Get the content of the API documentation page"
5. Assistant uses: mcp__lark__wiki_v2_space_getNode
- token: wiki_page_token
6. Display wiki content1. User: "张三创建的所有文档"
2. First get user ID: mcp__lark__contact_v3_user_batchGetId
- emails: ["zhangsan@company.com"]
3. Then search: mcp__lark__docx_builtin_search
- search_key: ""
- owner_ids: [user_open_id]
4. Display documents created by that user帮我搜索包含'季度OKR'的文档I'll search for documents containing '季度OKR'.
<uses mcp__lark__docx_builtin_search>
- search_key: "季度OKR"
- count: 10
Found 3 documents:
1. **2024 Q4 OKR Review** (docx)
- Owner: 张三
- Updated: 2024-01-10
- Link: https://example.feishu.cn/docx/abc123
2. **Team OKR Template** (docx)
- Owner: 李四
- Updated: 2024-01-08
- Link: https://example.feishu.cn/docx/def456
3. **Q1 2025 OKR Planning** (sheet)
- Owner: 王五
- Updated: 2024-01-12
- Link: https://example.feishu.cn/sheets/ghi789
Would you like me to open any of these documents?Get the content of this document: https://example.feishu.cn/docx/abc123I'll retrieve the content of that document.
<uses mcp__lark__docx_v1_document_rawContent>
- document_id: abc123
Here's the document content:
# 2024 Q4 OKR Review
## Engineering Team
### Objective 1: Improve System Reliability
- KR1: Achieve 99.9% uptime ✓ (Completed: 99.95%)
- KR2: Reduce MTTR to under 30 minutes ✓ (Completed: 25 min)
- KR3: Complete disaster recovery testing ⚠ (In Progress: 80%)
### Objective 2: Enhance Developer Productivity
- KR1: Reduce build time by 40% ✓ (Completed: 45% reduction)
- KR2: Implement automated code review ✓ (Completed)
- KR3: Launch internal developer portal ✗ (Delayed to Q1 2025)
[... more content ...]
Would you like me to summarize the key points or search for related documents?在工程知识库中搜索关于'微服务架构'的文档我会在工程知识库中搜索'微服务架构'相关内容。
<uses mcp__lark__wiki_v1_node_search>
- query: "微服务架构"
找到 5 个相关页面:
1. **微服务架构设计指南**
- 路径: 工程文档 > 架构设计 > 微服务
- 更新时间: 2024-01-10
- [查看页面](https://example.feishu.cn/wiki/page1)
2. **服务拆分最佳实践**
- 路径: 工程文档 > 架构设计 > 最佳实践
- 更新时间: 2024-01-08
- [查看页面](https://example.feishu.cn/wiki/page2)
3. **API Gateway 配置说明**
- 路径: 工程文档 > 基础设施 > 网关
- 更新时间: 2024-01-12
- [查看页面](https://example.feishu.cn/wiki/page3)
需要我打开其中某个页面查看详细内容吗?https://*.feishu.cn/docx/{document_id}https://*.feishu.cn/wiki/{wiki_token}https://*.feishu.cn/sheets/{spreadsheet_id}https://*.feishu.cn/base/{app_token}docx_v1_document_rawContentlark-messageslark-approvallark-calendarlark-drive