wp_delete_media
Delete a media item from a WordPress site, with option to move to trash or permanently remove.
Instructions
Deletes a media item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| id | Yes | The ID of the media item to delete. | |
| force | No | If true, permanently delete. If false, move to trash. Defaults to false. |