Set post terms
wp_add_post_termsAttach terms to a post. With append set to true they are added to the existing terms; otherwise they replace all terms of that taxonomy on the post.
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>",
"terms": "<terms>"
},
"name": "wp_add_post_terms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | Yes | ||
| terms | Yes | ||
| append | No | ||
| taxonomy | No |