wp_upload_image_from_url tool reference for media workflows
Writedownloads an image from a public URL and creates a media attachment.
Description
downloads an image from a public URL and creates a media attachment.
What it is for
- Importing external images.
- Preparing featured images from a remote source.
Example use case
importing a partner logo.
Sample prompt
Download this public image URL into the media library and keep the attachment ready for a new partner page.
Sample response
{
"tool": "wp_upload_image_from_url",
"status": "ok",
"updated": true
}
What does wp_upload_image_from_url do?
downloads an image from a public URL and creates a media attachment.
Does wp_upload_image_from_url modify the media library?
Yes. It can create, update, or delete media assets depending on the arguments.
Which capability is commonly required?
It usually runs under controls compatible with upload_files and the active MCP profile.
How should wp_upload_image_from_url be used safely?
Confirm target assets, review uploads before publication, and keep rollback-friendly workflows where possible.
What dependency should be confirmed first?
Public image URL reachable
