set_featured_image
Assigns or updates the featured image for an existing WordPress post using its post ID and the media ID.
Instructions
Set featured image for existing 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": {
"post_id": "<post_id>",
"media_id": "<media_id>"
},
"name": "set_featured_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Post ID to update | |
| media_id | Yes | Media ID for featured image |