upload_file
Upload a file to Feishu and get a file_key to attach it to messages sent as the user. Supports PDFs, Office docs, audio, video, and generic files.
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_name | No | Display file name (optional, defaults to basename) | |
| file_path | Yes | Absolute path to the file on disk | |
| file_type | No | File type (default: stream for generic files) |