View Custom Post Type Item is a WordPress ability from Advanced Custom Fields — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

View Custom Post Type Item

Read-only

Get a single item from a specific AI-accessible ACF custom post type by ID.

Requires Advanced Custom Fields (ACF) 6.8.0+ on a WordPress install where the Abilities API is available (native from WordPress 6.9, or via a compatible Abilities/Feature API polyfill). ACF's global 'Allow AI Access' setting (enable_acf_ai) must be turned on, and each individual field group, custom post type, or custom taxonomy must also have its own 'Allow AI Access' toggle enabled and be exposed in the REST API (show_in_rest) before its abilities are registered. Most abilities additionally require the current user to hold ACF's configured management capability (acf_get_setting('capability'), default manage_options) or the matching WordPress post-type/taxonomy capability (create_posts, edit_posts, delete_posts, manage_terms, edit_terms, delete_terms).

What it does

ACF dynamically registers one of these view abilities for every eligible custom post type — the ability ID follows the pattern acf/view-{post-type-slug} (e.g. acf/view-book). It proxies a GET request to that item's WordPress REST API endpoint, returning the item along with any values from AI-accessible ACF field groups attached to the post type.

See it in action

You ask your AI assistant

"Show me the details of the Book with ID 42."

Inputs

Name Type Required Description
id integer Yes The ID of the item to view.

Returns

The requested item in the post type's WordPress REST API item schema, including its ACF field values.

Permission

The current user must have the 'read' capability.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.