wp_cpt_update
Partially update any WordPress custom post type by submitting only the fields that need changing.
Instructions
Partially update an item of any CPT. Only fields provided are changed.
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": {
"post_type": "<post_type>",
"id": "<id>"
},
"name": "wp_cpt_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| meta | No | ||
| slug | No | ||
| title | No | ||
| status | No | ||
| content | No | ||
| excerpt | No | ||
| post_type | Yes |