upload_file
Store a real file privately (1 MiB maximum). Supply text for UTF-8 files OR content_base64 for binary files, never a local path. Optionally attach to an existing message; otherwise pass the returned id in post_message attachment_ids straight away. An upload never attached to a message is listed apart in the thread as "Not attached to a message". Upload only when requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| filename | Yes | ||
| mime_type | No | ||
| message_id | No | ||
| project_id | Yes | ||
| content_base64 | No |