upload_drive_file
Upload a file from disk to a Feishu Drive folder, with optional attachment to a Wiki space.
Instructions
[Official API] Upload a file from disk to a Feishu Drive folder (drive/v1/files/upload_all, parent_type=explorer). Returns file_token + url. If wiki_space_id is provided, the uploaded file is then attached to that Wiki space via move_docs_to_wiki (obj_type=file). UAT-first with app fallback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file on disk | |
| folder_token | Yes | Destination folder token. Use list_files to find one, or pass the user "我的空间" root token. | |
| wiki_space_id | No | Optional. If set, also attach the uploaded file to this Wiki space. | |
| wiki_parent_node_token | No | Optional. Parent node under which to attach in the Wiki space. |