show_upload_widget
Show the user a drop-and-upload box to add images or videos from their device to their HubPost media. Call it as soon as the user asks for a post with media (photo, image, video, reel, carousel) that is not already in their library, before asking anything about the file. This is the default way to upload in a chat. On upload it returns the mediaId to attach to a post.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "show_upload_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |