Open a file picker in the conversation
upload_media_widgetFallback local-media intake for aicut in Apps UI-capable clients. When the user refers to an attached/local photo, image, or video with no confirmed url, first upload it yourself if your code environment can read the file (e.g. /mnt/user-data/uploads): upload_media, curl POST, confirm_upload. Call this widget as the only tool in the turn only when the file is unreadable there or the POST fails. Do not ask the user to attach the file in Claude chat; remote MCP tools cannot read chat attachments. This widget is the upload surface: the user re-selects one or more files in the browser, the browser uploads them directly to aicut storage, the widget confirms them, then keeps them on the account, and list_uploads gives you their url once the user answers in chat.
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": "upload_media_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||