upload_file
Upload a file to Feishu and obtain a file key for sending the file as a user. Supports multiple file types including pdf, doc, and mp4.
Instructions
[Official API] Upload a file to Feishu. Returns file_key for use with send_file_as_user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file on disk | |
| file_type | No | File type (default: stream for generic files) | |
| file_name | No | Display file name (optional, defaults to basename) |