get_upload_url
Generate a presigned S3 URL to upload an image or video file and link it to a specific post group for scheduling.
Instructions
Get a presigned S3 URL to upload media (image/video) for a post
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": {
"postGroupId": "<postGroupId>",
"fileName": "<fileName>",
"contentType": "<contentType>",
"type": "<type>"
},
"name": "get_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Media type: 'image' or 'video' | |
| fileName | Yes | File name, e.g. 'photo.jpg' | |
| contentType | Yes | MIME type, e.g. 'image/jpeg' or 'video/mp4' | |
| postGroupId | Yes | Post group ID to attach media to |