Skip to content

operation_control

Cancel a proposed or authorized operation, or pause, resume, or cancel queued or executing asynchronous work.

For agents: this page as Markdown.

Group
Operations
Granted by
listings: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

Cancel a proposed or authorized operation, or pause, resume, or cancel queued or executing asynchronous work. Cancelling one that has not started yet ends it outright; cancelling a running one stops further work. Repeating an action changes nothing. Org-scoped.

Parameters

Name Type Required Description
action "pause" | "resume" | "cancel" yes pause, resume, or cancel.
client_request_id string yes Stable replay identity for this call; repeat it to retry safely.
operation_id string yes UUID of the operation.

Example

Arguments
{
  "client_request_id": "descriptor-example-1",
  "operation_id": "00000000-0000-0000-0000-000000000001",
  "action": "pause"
}
Result
{
  "result": {
    "operation_id": "00000000-0000-0000-0000-000000000001",
    "status": "executing",
    "control_state": "paused"
  }
}

Schemas

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

Input schema· 27 lines of JSON
{
  "properties": {
    "action": {
      "description": "pause, resume, or cancel.",
      "enum": [
        "pause",
        "resume",
        "cancel"
      ],
      "type": "string"
    },
    "client_request_id": {
      "description": "Stable replay identity for this call; repeat it to retry safely.",
      "type": "string"
    },
    "operation_id": {
      "description": "UUID of the operation.",
      "type": "string"
    }
  },
  "required": [
    "client_request_id",
    "operation_id",
    "action"
  ],
  "type": "object"
}
Output schema· 19 lines of JSON
{
  "properties": {
    "control_state": {
      "type": "string"
    },
    "operation_id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  },
  "type": "object",
  "x-result-size-budget": {
    "description": "One operation state.",
    "max_bytes": 4096,
    "strategy": "bounded-result"
  }
}