wordpress_list_post_types
List all registered WordPress post types.
wordpress_list_post_types
List all registered post types.
Parameters
This tool takes no parameters.
Example call
No parameter is required, so the smallest valid call is empty:
{
"name": "wordpress_list_post_types",
"arguments": {}
}
Response
{
"success": true,
"post_types": [
{
"type": "page",
"label": "Pages"
},
{
"type": "post",
"label": "Posts"
}
]
}
What it changes
Nothing. It only reads, so there is nothing to approve and nothing to undo.
How long it takes
A typical call takes about 1.4 seconds. 19 in 20 finish within 3.0 seconds. Measured on real sites over the last week, so it includes the site's own hosting.
Availability
Works on any WordPress site, whichever page builder it uses. Available since Respira 1.0.0.
Example Prompts
- "List post types"
- "What custom post types are available?"
Related Tools
Was this page helpful?