create_post_with_embeds
Creates a WordPress post or page and embeds YouTube videos and social media URLs directly into its content, so you can build rich media posts without manual embed markup.
Instructions
Create WordPress post with embedded YouTube videos and social media content
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": {
"title": "<title>",
"content": "<content>"
},
"name": "create_post_with_embeds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug (optional). If omitted, WordPress generates one from the title (a Japanese title gives a Japanese slug). Use it to set an ASCII slug, e.g. 'my-first-post'. WordPress may change it (for example, appending '-2' if the slug is already used); the result shows the actual slug | |
| tags | No | Tag IDs (posts only) | |
| title | Yes | Post title | |
| status | No | Post status. Defaults to 'draft' so nothing is published unintentionally. 'future' is not available because this tool has no date parameter. | draft |
| content | Yes | Base post content (embeds will be added) | |
| post_type | No | Post type (post or page) | |
| categories | No | Category IDs (posts only) | |
| social_urls | No | Social media URLs to embed (Twitter, Instagram, Facebook, TikTok) | |
| youtube_urls | No | YouTube video URLs to embed |