wordpress_get_post_type
Get details for a specific WordPress post type.
wordpress_get_post_type
Get post type details.
Parameters
1 parameter, 1 required.
| Name | Type | Required | What it is |
|---|---|---|---|
type | string | yes | Post type name |
Example call
The smallest valid call, with the required parameters only:
{
"name": "wordpress_get_post_type",
"arguments": {
"type": "value"
}
}
Response
{
"success": true,
"type": "product",
"label": "Products",
"public": true
}
What it changes
Nothing. It only reads, so there is nothing to approve and nothing to undo.
When it fails
The failures seen most often on real sites in the last 30 days, most common first:
respira_post_type_not_found: That post type is not registered on the site. Callwordpress_list_post_typesto see the ones that are.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Example Prompts
- "Get post type details for 'product'"
- "Tell me about the 'event' post type"
Related Tools
Was this page helpful?