Import media from URL
media_import_from_urlImport a public HTTPS image into the user's media library.
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": {
"url": "<url>"
},
"name": "media_import_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| idempotencyKey | No | Optional retry key. Reuse the same key with the same payload to deduplicate agent retries. | |
| originalFilename | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes |