Media Tools
wordpress_delete_media
Delete a WordPress media item.
wordpress_delete_media
Delete a media file.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | number | Yes | Media ID |
Response
{
"success": true,
"deleted": true,
"id": 501
}
Example Prompts
- "Delete media 501"
- "Remove the unused hero image from the media library"
Related Tools
Notes
- Deleting media may break pages that reference it; check usage before removing
Was this page helpful?
Built with Documentation.AI
Last updated Dec 15, 2025
