upload_file
Upload a local file to a Stashcat channel, conversation, or personal storage. Specify target type and file path, optional custom filename or folder.
Instructions
Uploads a file to a channel, conversation, or personal files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Target storage type | |
| type_id | No | Channel or conversation ID (not required for personal) | |
| filename | No | Custom filename (defaults to the file path basename) | |
| file_path | Yes | Absolute path to the file on disk | |
| folder_id | No | Optional folder ID to upload into |