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
| Parameter | Type | Required | Description |
|---|---|---|---|
| type | string | Yes | Post type name |
| id | number | Yes | Post 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"
Related Tools
Was this page helpful?
Built with Documentation.AI
Last updated Dec 15, 2025
