manage_drive_file
Copy, move, or delete Feishu Drive files, docs, and folders by specifying the action, file token, and resource type.
Instructions
[Official API] Manage a Drive file/doc/folder. action=copy (duplicate to a new name + folder), move (relocate, returns task_id), delete (remove, returns task_id). type is always required (Feishu rejects with 1061002 / 1062501 otherwise).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Operation to perform | |
| file_token | Yes | File/folder token to operate on (required for all actions). | |
| type | Yes | Resource type — Feishu requires this to know which API table to look up. | |
| name | No | New name — required for action=copy. | |
| folder_token | No | Destination folder token — required for action=move; optional for action=copy (defaults to root). |