Create Upload Link
create_upload_linkGet the user's own files (photos, video, PDFs, documents) into their oriiion account when you only have them inside this conversation. Returns a short-lived link the user opens in a browser and drops files on; then call list_uploaded_files for the stored URLs, which work with create_post_from_image, create_carousel_from_images, create_post_from_video and create_document_post. IF YOU HOLD THE FILE AND CAN MAKE HTTP REQUESTS, skip this — it needs nothing from the user: call create_media_upload_url, PUT the bytes, then finalize_media_upload (up to 200MB, no API key needed). If the file is already online, call import_media_from_url. Use this link tool when you cannot make HTTP requests or the file only exists as an attachment in the chat.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional short note about what the user should upload — shown to you, not to them |