E
Code Embed Content

Edit or create a post

Edit or create a post.

What it does

Edit or create a post. It is one of the abilities the Code Embed plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

simple-embed-code.edit-or-create-a-post
{
  "ability": "simple-embed-code.edit-or-create-a-post",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Code Embed abilities

All Code Embed abilities β†’
A
Add HTML or JavaScript to posts or pages - particularly
Code Embed
Add HTML or JavaScript to posts or pages - particularly useful for embedding videos!
S
Search for embedding code via a simple search option
Code Embed
Search for embedding code via a simple search option.
A
Add a simple suffix to the embed code to convert videos to
Code Embed
Add a simple suffix to the embed code to convert videos to responsive output.