create_social_post
Write and publish social media posts with text, images, or videos. Schedule posts for future dates across Instagram, Facebook, TikTok, and X.
Instructions
Create and publish (or schedule) a social media post.
Supports text, images, and videos on Instagram, Facebook, TikTok, X. Use scheduled_at to queue posts for a future time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Post caption / text content | |
| platform | Yes | Target platform ("instagram", "facebook", "tiktok", "twitter") | |
| account_id | Yes | Social account ID (get it from list_social_accounts) | |
| media_urls | No | Optional list of image or video URLs to attach | |
| scheduled_at | No | ISO 8601 datetime for scheduled posting, e.g. "2026-06-01T10:00:00Z". If omitted, the post is published immediately. | |
| org_id | No | Organization ID (uses YAPARAI_ORG_ID env var if not provided) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||