Open media uploader
open_media_uploaderShows an upload widget where the user picks images or videos from their device into the media library, for files without a public URL. The widget reports the new media IDs in the conversation. The result also includes an upload_url that opens the same uploader in a browser, for clients that cannot display widgets.
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": "open_media_uploader"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable error code. Present only for an error result. | |
| data | No | ||
| errors | No | Validation messages keyed by input field. | |
| issues | No | Structured validation issues. | |
| message | No | Safe error summary. Present only for an error result. | |
| retry_after | No | Seconds to wait before retrying a rate-limited request. |