Get upload URLs
get_upload_urlsCreates presigned upload URL and file-path pairs for local media. Use when a generation needs a file the user has locally: upload raw bytes to the returned upload_url, then pass its file_path to the create tool. Does not upload file bytes or start a generation.
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": {
"items": "<items>"
},
"name": "get_upload_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The list of assets to upload. The response array will match the order of items in the request body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The list of upload URLs and file paths for the assets. The response array will match the order of items in the request body. Refer to the [Input Files Guide](https://docs.magichour.ai/integration/inputs-and-outputs) for more details. |