Media Posts
mediasRead medias — this tool changes nothing. Actions: list, get. Anything that writes (create, update, publish, attach_comment_to_dm, delete) is on medias_manage and is refused here.
Read and publish Instagram feed posts, and set up the automation that DMs people who comment on one. First upload the visual with create_media_file, then use create here. Actions: list (paginated index; params: page, per_page, status, search); get (fetch one by Inrō ID, including its comment-to-DM automation; params: id); create (draft/schedule/publish a post; params: publish_media_type [IMAGE|REELS|CAROUSEL], media_file_id, children, caption, scheduled_at, publish_now, is_ai_generated, is_paid_partnership, comment_to_dm, …); update (edit a draft, or change a published post's automation or agent_context; params: id + fields); attach_comment_to_dm (auto-reply to commenters on one post and DM them a link — use this instead of hand-building a scenario; params: id, conversion_link, comment_options, question_type); publish (publish a draft/scheduled post now; params: id); delete (params: id). Publishing waits for the post to go live, so create with publish_now and publish normally return status "published" — check the response and report the permalink instead of polling; only status "pending" means Instagram is still processing a large upload, in which case poll get until status is "published" or publish_status is "ERROR". Scheduling/publishing requires Instagram publishing permission (see get_organization_info#can_publish). Set is_ai_generated on AI-generated media: Meta requires the disclosure on photorealistic AI content, it is applied when the post is published, and it can never be added afterwards — only removed, from Instagram. agent_context is different from every other field: it's notes for the AI agent, never shown on Instagram, and can be set or changed on any post — draft or published — unlike the rest of a published post's content. A sponsored post takes is_paid_partnership and branded_content_sponsors (the brands to tag, by username or Instagram user ID); a reel can be published as a trial reel — shown only to non-followers — with trial_graduation_strategy. Both are applied when the post is published, so set them before publishing or scheduling. To publish a post and its automation together in one call, pass comment_to_dm to create; on an existing post use attach_comment_to_dm. Neither is accepted on publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The read operation to perform on medias. | |
| action_params | No | Parameters for the chosen action, tagged [action] below. |