set_social_meta
Set Open Graph and Twitter card metadata for WordPress posts through an approved payload workflow, enabling safe social sharing previews without direct mutation.
Instructions
Disabled direct mutation tool. Use a reviewed payload workflow instead.
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>"
},
"name": "set_social_meta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ||
| og_image_type | No | ||
| twitter_use_og | No | ||
| twitter_image_type | No |