import_posts_csv
Import a CSV of posts as DRAFTS ONLY. Nothing is scheduled or published. dry_run true validates each row and writes nothing: supported network, a connected account in this org, the per-network character limit, the date, and media URL syntax. dry_run false creates pending drafts through the same path as create_drafts. Columns: text, scheduled_at, timezone, network, account, media_urls, first_comment, link, tags. Header names are case-insensitive. Also accepts calendar export headers (Message, Social network, Social profile, Date, Time) and a Postiz posts JSON object ({ posts: [...] } with content, publishDate, and integration). Duplicates match account, scheduled time, and a hash of the text. At most 200 rows and 1 MB per request. Rejected rows come back as rejectedCsv. first_comment is posted as the first comment under the post after it publishes, on networks that allow it (X, Bluesky, Mastodon, Pixelfed, Telegram, Slack; Instagram, Threads and Facebook only once their comment permission is granted). tags are stored on the draft and are not published. A status column is ignored. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"csv": "<csv>",
"dry_run": "<dry_run>"
},
"name": "import_posts_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | UTF-8 CSV text, or a Postiz posts JSON object. Max 1 MB and 200 data rows. | |
| dry_run | Yes | true validates only. false creates drafts. Never schedules or publishes. | |
| default_timezone | No | IANA timezone used when a row has a date without an offset and no timezone column. Example: Europe/Paris. |