get_upload_url
Generate a presigned URL for direct image upload to storage and get a public link for slides, avoiding base64 encoding.
Instructions
Get a presigned URL for fast direct image uploads.
Returns:
uploadUrl: POST your image file here directly
publicUrl: Use this URL in your slides after upload
This is MUCH faster than base64 encoding. Upload directly to storage.
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": "get_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Image filename (e.g. "hero.jpg", "chart.png") | |
| contentType | No | MIME type (e.g. "image/jpeg", "image/png"). Defaults to image/jpeg |