Request a direct upload URL (large files)
request_upload_urlGet a short-lived URL to upload a large file straight to storage, then call convert_upload with the returned file_key. API-key only. Use this instead of convert_base64 when the file exceeds the base64 size limit.
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": {
"filename": "<filename>"
},
"name": "request_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original file name, used for format detection. | |
| size_bytes | No | Optional declared size in bytes. |