Prune media reference
prune_media_referenceRepair MEDIA_REFERENCE_MISSING by removing a stale/dangling media reference from an owned post group, even when the MediaFile row is absent or inaccessible. Use delete_media for normal existing media rows.
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": {
"postGroupId": "<postGroupId>",
"mediaId": "<mediaId>"
},
"name": "prune_media_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | Stale media ID reported in the MEDIA_REFERENCE_MISSING error | |
| postGroupId | Yes | Post group ID that contains the stale media reference |