List taxonomies
get_taxonomiesLists a WordPress site's taxonomies, including categories, tags, and custom types, with their post types and rest_base values for mapping terms when creating or updating posts.
Instructions
List the site's taxonomies (categories, tags, and custom ones such as product categories) with the post types they belong to and the rest_base to use as the key in the terms argument of create_advanced_post and update_post. Use get_terms next to get the term IDs of one taxonomy.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_taxonomies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_type | No | Only the taxonomies of this post type |