You found the right image for a post, and it is sitting at some URL. The manual version is download, rename, upload through the media library, then open the post and set the featured image. Four steps and a browser tab shuffle for one picture.
Here the agent does the fetching and the busywork, and you keep the one decision that matters: yes, use this image on this post. It is a write, so it waits for that yes before anything lands.
Set the featured image on [post ID 142] from this image URL:[https://example.com/photo.jpg]. The link has to be HTTPS and the image ajpg, png, gif, or webp. Before you upload, show me the source URL, thefile name you will use, and the post it will go on, and wait for mygo-ahead. Once I approve, fetch it into the media library with theupload-from-URL tool and set it as that post's featured image, then tellme the new attachment ID.Why this is safe to run
There are two writes here and both are narrow. The upload adds one new image to the media library, and setting the featured image points one post at that attachment. Neither touches the post body, its status, or anything already in your library.
The fetch rules do real work. The plugin only fetches HTTPS links to public hosts, refuses private and internal addresses, does not follow redirects, and decides what the file is by reading its bytes rather than trusting the link. An SVG or an unrecognized format is rejected outright, so nothing questionable gets stored. On top of that, the write abilities stay off until you enable them, every call is checked against the capability of the user you bound the agent to, and the upload and the featured-image change both land in the Activity Log. If you set the wrong image, you point the post at a different one, and the post copy is never affected. There is no tool that clears a featured image back to none, so remove one in the editor.
Already connected? You do not have to paste this. Ask your agent for the “set a featured image from a URL” recipe, or just point it at an image and a post, and it runs the same upload and approval flow on your own site.