cleanup_orphaned_media
Find orphaned media not used by any product or category. Dry run by default; set delete=true to permanently remove them.
Instructions
Find orphaned media not used by any product or category. Dry run by default; set delete=true to remove them. Scans all products and categories.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cleanup_orphaned_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delete | No | Set to true to delete orphaned items (default: dry run) |