# pin_control

> Tusella MCP tool. Server `https://mcp.tusella.com/mcp`. Part of the [Tusella docs for AI agents](https://tusella.com/docs/); every tool in one list: [tools.md](https://tusella.com/docs/mcp/tools.md), [tools.json](https://tusella.com/docs/mcp/tools.json).

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

- Title: Pin control
- Group: Pinterest
- Granted by scope: `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.
- Hints: writes · can overwrite existing values · idempotent
- Retry-safe: repeat the same `client_request_id` with the same arguments.
- HTML: https://tusella.com/docs/mcp/tools/pin_control/
- Markdown: https://tusella.com/docs/mcp/tools/pin_control.md

## 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

```json
{
  "pin_id": "00000000-0000-0000-0000-000000000001",
  "client_request_id": "cancel",
  "expected_intent_revision": 0,
  "action": "cancel"
}
```

## Example result

```json
{
  "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
  }
}
```

## Input schema

```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

```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"
  }
}
```

Generated from the application’s public MCP contract at commit `25de6b1bdce5` (2026-11-24).
