Set a post's cover
set_feature_imageOn one site of the account, named in site. The cover picture, by address — from upload_media or the library — with its alt text and a caption. An empty url removes it. A revision the writer can undo.
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>",
"post_id": "<post_id>",
"url": "<url>"
},
"name": "set_feature_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alt | No | ||
| url | Yes | ||
| site | Yes | The site to work on, as list_sites names it | |
| caption | No | ||
| post_id | Yes |