Skip to content

pin_create

Create one real Tusella Pin draft.

For agents: this page as Markdown.

Group
Pinterest
Granted by
pinterest:write
Team permission
listing.edit — a role that can edit listings
Effect
Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.
Retry-safe
Repeat the same client_request_id with the same arguments.

Description

Create one real Tusella Pin draft. Drafting never submits. Choose a photo or ordered slides, account, board, text and destination.

Parameters

Name Type Required Description
alt_text string no Describe the photo for accessibility.
board_id string no The chosen public board id, belonging to that Pinterest account.
board_section_id string no A section of the selected board. Empty string selects the board root.
client_request_id string yes Mint once for this deliberate command; reuse the same key and payload on every retry.
description string no Pin description.
destination_url string no A public HTTPS destination; empty uses the attached listing Etsy URL.
listing_id string | null no Optional listing attribution; null clears it independently of the destination link.
media_asset_id string no The id returned by a Tusella read.
pinterest_account_id string | null no A team Pinterest account allowed for the Pin's shop; null clears it.
scheduled_local string no Chosen local date and time, YYYY-MM-DDTHH:MM.
shop_id string no The shop a listing-free Pin is filed under; a listing's own shop always wins. Omit it when the team has one shop.
slides array of object no Ordered photos; one photo or 2–5 carousel slides.
timezone string no IANA time zone such as Europe/Kyiv.
timing_intent "now" | "scheduled" no Draft timing proposal only; does not submit.
title string no Pin title.

Example

Arguments
{
  "client_request_id": "create",
  "media_asset_id": "00000000-0000-0000-0000-000000000001"
}
Result
{
  "result": {
    "pin_id": "00000000-0000-0000-0000-000000000001",
    "draft_revision": 0,
    "selection_revision": 0,
    "intent_revision": 0,
    "lifecycle_state": "draft",
    "tusella_path": "/pinterest?dispatch=00000000-0000-0000-0000-000000000001",
    "command_id": "00000000-0000-0000-0000-000000000001",
    "outcome": "",
    "reason_code": "",
    "requested_for": null,
    "timezone": "",
    "pin_url": null
  }
}

Schemas

Exactly what the server declares to MCP clients. The input_schema is what the server validates arguments against.

Input schema· 113 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "alt_text": {
      "description": "Describe the photo for accessibility.",
      "maxLength": 500,
      "type": "string"
    },
    "board_id": {
      "description": "The chosen public board id, belonging to that Pinterest account.",
      "maxLength": 64,
      "type": "string"
    },
    "board_section_id": {
      "description": "A section of the selected board. Empty string selects the board root.",
      "maxLength": 64,
      "type": "string"
    },
    "client_request_id": {
      "description": "Mint once for this deliberate command; reuse the same key and payload on every retry.",
      "maxLength": 128,
      "type": "string"
    },
    "description": {
      "description": "Pin description.",
      "maxLength": 800,
      "type": "string"
    },
    "destination_url": {
      "description": "A public HTTPS destination; empty uses the attached listing Etsy URL.",
      "maxLength": 2048,
      "type": "string"
    },
    "listing_id": {
      "description": "Optional listing attribution; null clears it independently of the destination link.",
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "media_asset_id": {
      "description": "The id returned by a Tusella read.",
      "maxLength": 64,
      "type": "string"
    },
    "pinterest_account_id": {
      "description": "A team Pinterest account allowed for the Pin's shop; null clears it.",
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "scheduled_local": {
      "description": "Chosen local date and time, YYYY-MM-DDTHH:MM.",
      "maxLength": 32,
      "type": "string"
    },
    "shop_id": {
      "description": "The shop a listing-free Pin is filed under; a listing's own shop always wins. Omit it when the team has one shop.",
      "maxLength": 64,
      "type": "string"
    },
    "slides": {
      "description": "Ordered photos; one photo or 2–5 carousel slides.",
      "items": {
        "additionalProperties": false,
        "properties": {
          "media_asset_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "slide_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "media_asset_id"
        ],
        "type": "object"
      },
      "maxItems": 5,
      "minItems": 1,
      "type": "array"
    },
    "timezone": {
      "description": "IANA time zone such as Europe/Kyiv.",
      "maxLength": 64,
      "type": "string"
    },
    "timing_intent": {
      "description": "Draft timing proposal only; does not submit.",
      "enum": [
        "now",
        "scheduled"
      ],
      "type": "string"
    },
    "title": {
      "description": "Pin title.",
      "maxLength": 100,
      "type": "string"
    }
  },
  "required": [
    "client_request_id"
  ],
  "type": "object"
}
Output schema· 82 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "command_id": {
      "maxLength": 64,
      "type": "string"
    },
    "draft_revision": {
      "minimum": 0,
      "type": "integer"
    },
    "intent_revision": {
      "minimum": 0,
      "type": "integer"
    },
    "lifecycle_state": {
      "maxLength": 32,
      "type": "string"
    },
    "outcome": {
      "maxLength": 16,
      "type": "string"
    },
    "pin_id": {
      "maxLength": 64,
      "type": "string"
    },
    "pin_url": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "reason_code": {
      "maxLength": 64,
      "type": "string"
    },
    "recovery_ref": {
      "maxLength": 64,
      "type": "string"
    },
    "requested_for": {
      "maxLength": 64,
      "type": [
        "string",
        "null"
      ]
    },
    "selection_revision": {
      "minimum": 0,
      "type": "integer"
    },
    "timezone": {
      "maxLength": 64,
      "type": "string"
    },
    "tusella_path": {
      "maxLength": 100,
      "type": "string"
    }
  },
  "required": [
    "pin_id",
    "draft_revision",
    "selection_revision",
    "intent_revision",
    "lifecycle_state",
    "tusella_path",
    "command_id",
    "outcome",
    "reason_code",
    "requested_for",
    "timezone",
    "pin_url"
  ],
  "type": "object",
  "x-result-size-budget": {
    "max_bytes": 19000,
    "strategy": "bounded-result"
  }
}