Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

manage_content

Duplicate, cancel, delete or restore content

removes listed directly

Housekeeping on one content item, chosen with `action`. duplicate: a new draft with the same text, creatives, channel and campaign, with no planned time and no approval (pass request_key so a retry makes one copy). cancel: withdraw the item so nothing is sent; an approval is dropped and a scheduled slot is released (cancelling a scheduled post needs the right to publish). delete_draft: remove a draft or cancelled item for good; only for content that never reached the schedule and was never published, and only with person_confirmed: true. restore_version: bring an earlier version back as a new version (version_id from get_content); on approved content this throws the approval away.

Nothing here approves, schedules or publishes. To change text use save_content_draft.

Arguments

NameTypeNeededWhat it is
action string yes One of: duplicate, cancel, delete_draft, restore_version
content_id string yes The content item id.
version_id string no restore_version only: the id of the version to bring back (from get_content versions).
person_confirmed boolean no Set true only after the person has seen exactly which draft will be deleted for good (its title and text) and told you, in this conversation, to go ahead. Never set it on your own initiative.
request_key string no duplicate only: any unique string, so a retry does not make a second copy.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It can remove something for good, so an assistant is expected to ask the person first.
  • It is in the list every assistant sees when it connects.
  • It is always called by its own name, never through execute_tools, so the assistant's own safety prompts apply.

How tools behave: confirmation, review links, errors and limits

create_creative · get_approval · get_content · import_images · list_approvals · list_content · list_creative_templates · list_creatives · list_uploads · preview_creative · preview_post · request_approval · request_upload · save_content_draft · update_creative