mcp_list_terms
Retrieve WordPress taxonomy terms, including categories, tags, and custom taxonomies, with IDs, names, slugs, descriptions, parents, and post counts. Filter by parent, search text, or empty status.
Instructions
List terms for any taxonomy (categories, tags, custom taxonomies): id, name, slug, description, parent, count
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>",
"taxonomy": "<taxonomy>"
},
"name": "mcp_list_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| parent | No | Only direct children of this term ID (0 = top level) | |
| search | No | Search term names | |
| taxonomy | Yes | Taxonomy name (e.g. category, post_tag, product_cat) | |
| hide_empty | No | Hide terms with no posts (default false) |