create_upload_url
Get a short-lived URL to upload ONE file (an image, a PDF, audio or plain text) that you then pass to a tool of ASI.EXPRESS as file_ref. Give content_type and size_bytes; PUT the bytes to upload_url within 10 minutes with the same content-type. The upload URL can only upload or delete that file, never read it. Files you upload are used only to run the tool you pass them to: each file is deleted automatically at the latest 1 hour after upload (never more than 24 hours), is not shared with anyone outside ASI.EXPRESS and its hosting provider Cloudflare, and its content is never written to our logs. Maximum 10 MB per file. Limits: 20 uploads a day per address.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content_type": "<content_type>",
"size_bytes": "<size_bytes>"
},
"name": "create_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_bytes | Yes | the exact file size in bytes (at most 10 MB) | |
| content_type | Yes | the file's type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||