create_doc
Create a new Feishu document. Optionally place it under a Wiki space by providing the space ID.
Instructions
[Official API] Create a new Feishu document. Can place directly under a Wiki space by passing wiki_space_id (optionally wiki_parent_node_token for nested placement) — the plugin creates the doc in drive then attaches it as a Wiki node.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>"
},
"name": "create_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Document title | |
| folder_id | No | Parent folder token (optional; ignored when wiki_space_id is set) | |
| wiki_space_id | No | Wiki space ID to place the doc under (optional) | |
| wiki_parent_node_token | No | Parent wiki node token within the space (optional; defaults to space root) |