Custom Post Type Toolswordpress_get_custom_post
Custom Post Type Tools

wordpress_get_custom_post

Get a custom post by type and ID.

wordpress_get_custom_post

Get custom post details.

Parameters

ParameterTypeRequiredDescription
typestringYesPost type name
idnumberYesPost ID

Response

{
  "success": true,
  "type": "product",
  "id": 3001,
  "title": "Product A",
  "status": "publish",
  "content": "<p>...</p>"
}

Example Prompts

  • "Get product 3001"
  • "Read custom post type 'portfolio' with ID 42"
Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025