createUploadLink
Create a one-hour link where the user uploads an image or video in their browser while signed in to PostQuickAI. Use this for any file the user has, including files shared in this chat. Share uploadPageUrl, wait for the user to say it is done, then call getUploadLink.
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": {
"mediaKind": "<mediaKind>"
},
"name": "createUploadLink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaKind | Yes | Images: JPEG, PNG, WebP, or GIF up to 10MB. Videos: MP4, WebM, or MOV up to 500MB. |