upload_media
Upload base64-encoded image, audio, or video data (decoded limit 10 MiB) and get media URLs; use existing public URLs for larger files, since local paths are not accepted.
Instructions
Upload base64 image/audio/video data (default decoded limit 10 MiB). Returns media URLs. Prefer existing public URLs for large files; local paths are not accepted.
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": {
"data_url": "<data_url>"
},
"name": "upload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||