Fix Media References
fix_media_referencesScan a Drupal content type to find broken media references and report media relationships whose target entities no longer resolve.
Instructions
Find broken media references across a content type.
Scans nodes of the given type and checks every media relationship, reporting references whose target media entity no longer resolves.
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": {
"content_type": "<content_type>"
},
"name": "fix_media_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_type | Yes | Bundle to scan (e.g. ``article``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||