Batch image-mismatch scanning for AI and automation clients.
Ability index
| Ability | Permission | Side effects |
|---|---|---|
prc-attachments-inspector/scan-image-mismatches | edit_posts | Read-only scan; paginated |
Category: attachments-inspector
Meta: show_in_rest: true, MCP public tool, readonly / idempotent annotations
Source: includes/image-mismatch/class-ability.php
prc-attachments-inspector/scan-image-mismatches
Pages through published posts (default batch 50, max 50). Call again with cursor = last_id until done is true.
Reference
3 fields
Input
Typed options, defaults, and constraints in one scannable reference.
-
cursornumber -
Resume after this post ID.
-
batch_sizenumber -
Posts per page (1–50).
-
post_typestring -
Post type to scan.
No fields match this filter.
Reference
4 fields
Output
Typed options, defaults, and constraints in one scannable reference.
-
resultsarray -
Affected posts from this batch.
-
last_idnumber -
Cursor for the next call.
-
scannednumber -
Posts examined in this batch.
-
doneboolean -
True when no further posts remain.
No fields match this filter.
CLI equivalent: wp prc attachments-inspector mismatch-report (supports --start-id, --limit, --format, and related flags).