mcp_sideload_media
Upload media to WordPress from a public external URL, with optional title, caption, alt text, and filename; private or internal hosts are refused.
Instructions
Upload media to WordPress from a public external URL (private/internal hosts are refused)
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": {
"site": "<site>",
"url": "<url>"
},
"name": "mcp_sideload_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | Alt text (for images) | |
| url | Yes | Public URL of the file to download and import | |
| site | Yes | Site id (see list_sites) | |
| title | No | Media title | |
| caption | No | Caption, plain text | |
| filename | No | Override filename (default: basename of the URL path) | |
| description | No | Description, plain text |