wp_delete_media
Delete a WordPress media item, either permanently or by moving it to the trash.
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. |