list_posts
Lists posts in the studio, newest first, each with its attached assets and studiourl.
enum
Optional filter:
draft, scheduled, queued, posted, or failed. Omit
for everything.Prompt
get_post
Fetches one post by id.string
required
Post id.
not_found if the id belongs to another studio or does not
exist.
create_draft
Creates a draft.string
required
Body text. Up to 10,000 characters — per-platform limits are checked at publish
time, not here.
string[]
Platforms to target. Omit, or pass an empty array, to target every supported
platform.
Input
url. Give that link to the user rather than
the raw id.
update_draft
Patches a draft in place. Only the fields you pass change.string
required
Post id.
string
Replacement body text. Allowed while the post is
draft or scheduled; on
a scheduled post the new text must still fit the platform it is aimed at.string[]
Replacement target list. Draft only — unschedule first, or you get
cannot_edit_scheduled_post.delete_draft
Deletes a post permanently.string
required
Post id.
{ "deleted": "<id>" }.