get_upload_urls
Get signed upload URLs for media files. Upload the file via PUT to the returned URL, then use the key in post creation.
Instructions
Get signed upload URLs for media files. Upload your file to the returned URL via PUT, then use the key in create_posts mediaItems.
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": {
"contentType": "<contentType>"
},
"name": "get_upload_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentType | Yes | MIME type of the file. Supported: image/jpeg, image/png, image/gif, image/webp, video/mp4, video/webm, video/quicktime | |
| count | No | Number of upload URLs (1-8 for images, 1 for videos) |