create_posts
Use this when the user wants many Pinterest Pins created at once, such as importing a spreadsheet or a list of Pins: up to 175 Pins in one call, each with its own image, title, description, link, Board and schedule. Each entry takes the same fields as create_post except intervalBoards and carouselItems, which a batch refuses per entry; those Pins go through create_post one at a time. A draft entry (no sendAt and no useNextOpenSlot) may leave out the image if it has a title, description or url: it is saved with Tailwind's placeholder image, and the user adds the real image later with Change media in Tailwind's Pin Scheduler, since these tools cannot change a Pin's image. The call returns a batchId straight away and the Pins are created in the background, one at a time in the order given; get_post_batch reports each entry as created, failed or pending. A batch the account cannot pay for is refused whole, with nothing created. Each scheduled entry is charged as create_post would charge it, and drafts are free. A batch with any scheduled entry needs the previewToken from a preview_create_posts call for exactly these accountId, posts and retryOfBatchId, made within the last 30 minutes after the user saw its cost and agreed; without it nothing is created. A batch of drafts only needs no preview. Submitting the identical batch again within 7 days returns the original batch rather than creating its Pins twice. To retry the entries that failed, put only those entries in a new create_posts call with retryOfBatchId set to the batch they failed in. For a larger import, split it into batches of up to 175. If the user did not say which Pinterest account to use and list_accounts returns more than one, ask the user which account to use before calling this — do not choose for them.
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": {
"accountId": "<accountId>",
"posts": "<posts>"
},
"name": "create_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | One entry per Pin, each with create_post's fields except intervalBoards and carouselItems. Results come back in this order. | |
| accountId | Yes | Numeric Tailwind account ID returned by list_accounts | |
| previewToken | No | previewToken from preview_create_posts for exactly these accountId, posts and retryOfBatchId, within 30 minutes. Required when any entry is scheduled. | |
| retryOfBatchId | No | When resending entries that failed, the batchId they failed in. Without it, resending the exact entries of a batch returns that batch instead of trying them again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch | Yes |