Skip to main content
Revises the draft text and/or category of a generated content record. The replacement is wholesale — pass the complete revised text, not a diff. For structured types (changelogs, KB article sets, release notes emails) the draft must remain JSON in the same shape as the original; pass it as a JSON string or object. Note that edits to already-published content update the public copy immediately.

Arguments

Returns

The updated record’s status payload:
Typical flow: read with get_content_draft, revise here, then approve_content or publish_content.

Errors

  • Provide \content` and/or `category` to update.` — called with neither argument.
  • Invalid content_id (must be a UUID): abc123
  • Content not found: 7f5e2c1a-... — no record with that ID exists in this project.

Example prompts

“Tighten the intro paragraph of that blog draft and save it back.”
“Rewrite the changelog headline to mention the API keys page, keeping the JSON structure intact.”