WordPress Abilities API tool for AI and automation clients.
Ability index
| Ability | Permission | Side effects |
|---|---|---|
prc-content-transformer/transform | edit_posts (on target site) | Runs AI transform; may write cache |
Category: data-retrieval
Meta: show_in_rest: true, MCP public tool, readonly annotation (non-idempotent)
Source: includes/ai-experiment/class-content-transformer-ability.php
prc-content-transformer/transform
Transforms a post into a provider-specific format using the same pipeline as REST and CLI.
Reference
4 fields
Input
Typed options, defaults, and constraints in one scannable reference.
-
post_idnumber required -
Post ID to transform.
-
providerstring required -
Provider slug (plain-text, apple-news, email).
-
forceboolean -
Bypass cache.
-
site_idnumber -
Multisite blog ID; defaults via platform AI utils.
No fields match this filter.
Reference
5 fields
Output
Typed options, defaults, and constraints in one scannable reference.
-
statusstring -
success, cached, or failed.
-
outputstring -
Transformed content.
-
providerstring -
Provider slug used.
-
tokens_usednumber -
Estimated tokens consumed.
-
errorstring -
Error message when failed.
No fields match this filter.
If the plugin is inactive on the target site, the ability returns plugin_inactive_on_site. Discover providers via GET /prc-content-transformer/v1/providers.