Prepare upload
create_presigned_upload_urlReturns a presigned URL for uploading a local file directly to storage. PUT the file bytes to uploadUrl with the same Content-Type, call complete_upload with the mediaId, then use mediaId or publicUrl when creating 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": {
"filename": "<filename>",
"contentType": "<contentType>"
},
"name": "create_presigned_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altText | No | What the picture shows, for people who cannot see it; at most 1000 characters. Sent with the picture to LinkedIn, X, Facebook and Instagram (not with a video). | |
| filename | Yes | Original file name, used for the extension. | |
| contentType | Yes | MIME type, for example image/jpeg or video/mp4. |