show_upload_widget
Show the user a drop-and-upload box to add a reference image, video or audio file to their Morphix library. On upload it returns the new asset id, ready for the generate and upscale tools. Use when the user wants to upload or reference their own media.
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 | The widget is rendered; the asset id arrives once the user uploads |