Get post terms
wp_get_post_termsList the terms attached to a post, optionally for one taxonomy only.
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": {
"ID": "<ID>"
},
"name": "wp_get_post_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | Yes | ||
| taxonomy | No |