nucleo-media-import
Downloads a public image from an HTTPS URL and imports it into the WordPress media library with alt text for supported formats up to 10 MB.
Instructions
Downloads a public image from an https URL and adds it to the media library, with alt text. Accepts only jpeg, png, webp, gif and avif, up to 10 MB.
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>",
"alt": "<alt>"
},
"name": "nucleo-media-import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | Yes | Alternative text. Empty string for decorative images. | |
| url | Yes | Public https URL of the image. | |
| title | No | Media title. |