Skip to content

pin_control

Cancel a not-yet-sending Pin, reschedule, publish now, resume after reconnect, check an uncertain attempt, or explicitly request another eligible attempt.

For agents: this page as Markdown.

Group
Pinterest
Granted by
pinterest:publish
Team permission
pinterest.publish — a role that can publish Pins
Effect
Acts on Pinterest when the seller asks: the Pin is published, scheduled, rescheduled or cancelled there.
Retry-safe
Repeat the same client_request_id with the same arguments.

Description

Cancel a not-yet-sending Pin, reschedule, publish now, resume after reconnect, check an uncertain attempt, or explicitly request another eligible attempt. Obtain the user’s specific instruction before any sending-capable action. Check never creates a remote Pin; uncertain outcomes cannot be blindly redriven. Read current state after the command.

Parameters

Name Type Required Description
action "cancel" | "reschedule" | "publish_now" | "resume" | "redrive" | "check" yes One user-directed control action.
client_request_id string yes Mint once for this deliberate command; reuse the same key and payload on every retry.
expected_intent_revision integer yes The revision returned by your last Pin read.
pin_id string yes The id returned by a Tusella read.
scheduled_local string no Chosen local date and time, YYYY-MM-DDTHH:MM.
timezone string no IANA time zone such as Europe/Kyiv.

Example

Arguments
{
  "pin_id": "00000000-0000-0000-0000-000000000001",
  "client_request_id": "cancel",
  "expected_intent_revision": 0,
  "action": "cancel"
}
Result
{
  "result": {
    "pin_id": "00000000-0000-0000-0000-000000000001",
    "draft_revision": 0,
    "selection_revision": 0,
    "intent_revision": 0,
    "lifecycle_state": "cancelled",
    "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· 49 lines of JSON
{
  "additionalProperties": false,
  "properties": {
    "action": {
      "description": "One user-directed control action.",
      "enum": [
        "cancel",
        "reschedule",
        "publish_now",
        "resume",
        "redrive",
        "check"
      ],
      "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"
    },
    "expected_intent_revision": {
      "description": "The revision returned by your last Pin read.",
      "minimum": 0,
      "type": "integer"
    },
    "pin_id": {
      "description": "The id returned by a Tusella read.",
      "maxLength": 64,
      "type": "string"
    },
    "scheduled_local": {
      "description": "Chosen local date and time, YYYY-MM-DDTHH:MM.",
      "maxLength": 32,
      "type": "string"
    },
    "timezone": {
      "description": "IANA time zone such as Europe/Kyiv.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "pin_id",
    "client_request_id",
    "action",
    "expected_intent_revision"
  ],
  "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"
  }
}