Feishu Wiki Tool
Single tool feishu_wiki for knowledge base operations across Feishu Wiki spaces and nodes.
Workflow
- Start with
spacesornodesto understand the current wiki structure. - Use
geton a wiki token when you need the backingobj_tokenandobj_type. - Use
feishu_docfor the page content itself once you have the resolvedobj_token. - Apply the smallest structural action needed in the wiki layer (
create,move,rename). - Re-query the node tree to verify the final location and title.
From URL https://xxx.feishu.cn/wiki/ABC123def -> token = ABC123def
Actions Summary
| Action | Description |
|---|---|
spaces |
List accessible wiki spaces |
nodes |
List nodes in a space or under a parent node |
get |
Resolve wiki node details including obj_token |
create |
Create a wiki node or page |
move |
Move a node within or across spaces |
rename |
Rename an existing node |
Wiki-Doc Workflow
To edit a wiki page:
- Get node:
{ "action": "get", "token": "wiki_token" }→ returnsobj_token - Read doc:
feishu_doc { "action": "read", "doc_token": "obj_token" } - Write doc:
feishu_doc { "action": "write", "doc_token": "obj_token", "content": "..." }
Key Constraints
feishu_wikimanages the structure;feishu_docmanages wiki page content.obj_typedefaults todocx, but can also besheet,bitable,mindnote,file,doc, orslides.- Cross-space moves should be verified carefully because both target space and parent location matter.
Configuration
channels:
feishu:
tools:
wiki: true # default: true
doc: true # required - wiki content uses feishu_doc
Dependency: This tool requires feishu_doc to be enabled. Wiki pages are documents - use feishu_wiki to navigate, then feishu_doc to read/edit content.
Permissions
Required: wiki:wiki or wiki:wiki:readonly
Guardrails
- Use local or trusted tools only; avoid untrusted install pipelines.
- Do not paste secrets/tokens into chat output.
- Keep outputs in deterministic local paths for reproducible review.