preview_update_posts
Use this when the user wants many existing Pinterest Pins edited at once, each with its own new values: for example, correcting one wrong word or link across a queue of scheduled Pins whose descriptions otherwise differ. This is the first of the two calls a bulk edit takes, and it changes nothing. It takes up to 50 entries, each naming a postId (from list_posts or get_post) and the fields to change on that Pin, with the same fields and rules as update_post. It returns, for every entry in order, the Pin's current values and the values it would have after the edit (will_update), or the reason the edit would be refused (failed), plus a previewToken when every entry would update. update_posts saves the batch only with that previewToken and the identical posts, within 30 minutes; a batch with refused or unchecked entries gets no token until those entries are removed or fixed and the batch is previewed again. This tool does not search or match text: a find-and-replace is the caller reading the Pins, computing each Pin's new value, and sending those values here. Tailwind keeps no history of Pin copy, so the preview is where the user sees the before-and-after for each Pin before anything is overwritten. 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | One entry per Pin: its postId plus at least one field to change. A postId may appear only once. | |
| accountId | Yes | Numeric Tailwind account ID returned by list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | One result per entry, in request order | |
| summary | Yes | ||
| expiresAt | No | When previewToken stops being accepted (ISO 8601) | |
| previewToken | No | Passed to update_posts with the same posts to save this batch. Absent when any entry is failed or not_attempted; the batch then needs fixing and a new preview. |