wp_upload_media_from_url
Upload media from a remote URL directly to WordPress. Specify alt text, title, caption, and description for the uploaded file.
Instructions
Upload media to WordPress from a remote URL
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": "wp_upload_media_from_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text for images | |
| url | Yes | Image or file URL to upload | |
| title | No | ||
| caption | No | ||
| description | No |