Browse modules▾
Storage
Media-storage folders, files and usage.
All tools
7get_storage_usagereadStorage quota usage: bytes used + plan limit + remaining.
list_storage_filesreadMedia files, filterable by folder.
list_storage_foldersreadMedia folders. parent_folder_id drills into a subtree.
create_storage_folderwriteCreate a new media folder. Optional parent for nesting.
delete_storage_filewriteDelete a media file by id. Soft-delete server-side.
import_video_from_storagewriteTurn a file already in File Storage into a hosted, transcoded video. Pair with upload_storage_file_from_url for a complete URL-to-video path.
upload_storage_file_from_urlwriteFetch a public HTTPS URL into storage. The returned `url` works as media_url for send_dm or voice_note_url for send_voice_note. Max 25MB; image/audio/video only. Only approved hosts can be fetched (Instagram and Facebook CDNs, Google Drive and Google Cloud Storage, GitHub); for anything else upload the file in the app.