postiz_cleanup_orphan_media
Remove unused media files from Postiz Media Manager by identifying orphaned items not linked to active posts, with optional dry-run preview before deletion.
Instructions
Clean up orphaned media files. Supports dry-run mode to preview what would be deleted without actually deleting.
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": "postiz_cleanup_orphan_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, only simulate deletion and return what would be deleted. Default: false | |
| limit | No | Optional: Maximum number of media items to clean up |