wordpress_delete_media
Remove media files from WordPress library to manage storage and organize content. Delete specific files by ID with optional force deletion.
Instructions
Delete a media file from library
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | ||
| force | Yes |
Input Schema (JSON Schema)
{
"properties": {
"force": {
"type": "boolean"
},
"mediaId": {
"type": "number"
}
},
"required": [
"mediaId",
"force"
],
"type": "object"
}