{
  "server": "https://mcp.tusella.com/mcp",
  "docs": "https://tusella.com/docs/",
  "source": {
    "repository": "thehrdwood/tusella",
    "commit": "25de6b1bdce57b0fd9b9fb33f230d4b59f7a33c5",
    "committed": "2026-11-24T02:25:13+02:00"
  },
  "scopes": [
    {
      "scope": "listings:read",
      "description": "Read the team, its shops, listings, reference values, operations and publications.",
      "tools": [
        "guide_read",
        "listing_read",
        "listing_variations_read",
        "listings_find",
        "operation_read",
        "operations_find",
        "publish_review_read",
        "publish_reviews_find",
        "reference_lookup",
        "shop_overview",
        "team_overview"
      ]
    },
    {
      "scope": "listings:write",
      "description": "Edit listing drafts, create listings, arrange photos, undo changes, run operations and prepare publications. Nothing is sent to Etsy.",
      "tools": [
        "change_revert",
        "listing_create",
        "listing_photos_edit",
        "listings_edit",
        "operation_authorize",
        "operation_control",
        "publish_review_comment",
        "publish_review_create"
      ]
    },
    {
      "scope": "pinterest:read",
      "description": "Read Pins, team photos, Pinterest accounts and boards, plus the team, shop and listing reads a Pin needs.",
      "tools": [
        "listing_read",
        "listings_find",
        "pin_read",
        "pins_find",
        "pinterest_media_find",
        "pinterest_media_preview",
        "pinterest_reference_lookup",
        "reference_lookup",
        "shop_overview",
        "team_overview"
      ]
    },
    {
      "scope": "pinterest:write",
      "description": "Create and edit Pin drafts, undo a draft edit, and add a photo to the team library.",
      "tools": [
        "pin_create",
        "pin_edit",
        "pin_revert",
        "pinterest_media_import"
      ]
    },
    {
      "scope": "pinterest:publish",
      "description": "Publish, schedule, reschedule or cancel a Pin the seller asked for.",
      "tools": [
        "pin_control",
        "pin_submit"
      ]
    }
  ],
  "tools": [
    {
      "name": "change_revert",
      "title": "Change revert",
      "group": "listings",
      "summary": "Undo a change by the recovery_ref its receipt returned, or the recovery_ref operation_read or operations_find shows for an applied operation.",
      "description": "Undo a change by the recovery_ref its receipt returned, or the recovery_ref operation_read or operations_find shows for an applied operation. A single-listing change is undone at once and returns a receipt; an operation is rolled back by a new operation whose handle this returns, and a listing whose field changed again since is reported as blocked rather than overwritten. A recovery_ref that is unknown or already undone is refused with recovery_unavailable. Org-scoped.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "May return an operation handle: follow it with `operation_read` until it finishes.",
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/change_revert/",
      "markdown": "https://tusella.com/docs/mcp/tools/change_revert.md",
      "input_schema": {
        "properties": {
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "recovery_ref": {
            "description": "The recovery_ref a change's receipt, operation_read, or operations_find returned.",
            "type": "string"
          }
        },
        "required": [
          "client_request_id",
          "recovery_ref"
        ],
        "type": "object"
      },
      "output_schema": {
        "oneOf": [
          {
            "properties": {
              "action_result": {
                "properties": {
                  "change_report": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "disposition": {
                    "enum": [
                      "committed",
                      "no_effect"
                    ],
                    "type": "string"
                  },
                  "schema_version": {
                    "const": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "schema_version",
                  "disposition",
                  "change_report"
                ],
                "type": "object"
              },
              "applied": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "change_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "completed_at": {
                "format": "date-time",
                "type": "string"
              },
              "field_change_ids": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "field_changes": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "after": {},
                    "before": {},
                    "display": {
                      "additionalProperties": false,
                      "properties": {
                        "after": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "before": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "before",
                        "after"
                      ],
                      "type": "object"
                    },
                    "field": {
                      "type": "string"
                    },
                    "values_omitted": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "field",
                    "before",
                    "after",
                    "display"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "listing": {
                "additionalProperties": false,
                "properties": {
                  "changes_vs_etsy": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "price_max": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency_code": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "price_min": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency_code": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "price_varies": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "string"
                  },
                  "thumbnail": {
                    "additionalProperties": false,
                    "properties": {
                      "expires_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "url",
                      "expires_at"
                    ],
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "listing_id": {
                "type": "string"
              },
              "recovery": {
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "enum": [
                      "ref",
                      "inverse",
                      "none"
                    ],
                    "type": "string"
                  },
                  "recovered_by": {
                    "type": "string"
                  },
                  "ref": {
                    "description": "Pass to change_revert to undo this change.",
                    "type": "string"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              "recovery_ref": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "skipped": {
                "items": {
                  "properties": {
                    "field": {
                      "type": "string"
                    },
                    "media_id": {
                      "type": "string"
                    },
                    "skipped_reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "skipped_reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "listing_id",
              "field_change_ids",
              "action_result",
              "recovery",
              "recovery_ref"
            ],
            "type": "object"
          },
          {
            "properties": {
              "handle_id": {
                "type": "string"
              },
              "review_required": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "summary": {
                "type": "object"
              }
            },
            "required": [
              "handle_id",
              "status"
            ],
            "type": "object"
          }
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One write receipt, or one operation handle whose summary carries counts, a blocker histogram, and at most 10 sample rows.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "recovery_ref": "journal:00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "listing_id": "00000000-0000-0000-0000-000000000001",
          "field_change_ids": [
            "00000000-0000-0000-0000-000000000001"
          ],
          "action_result": {
            "schema_version": 1,
            "disposition": "committed",
            "change_report": null
          },
          "recovery": {
            "kind": "none"
          },
          "recovery_ref": null
        }
      }
    },
    {
      "name": "guide_read",
      "title": "Guide read",
      "group": "publish-review",
      "summary": "Read how Tusella works and what the seller sees.",
      "description": "Read how Tusella works and what the seller sees. Call with topic=publications before preparing, changing or explaining a publication. Sections: overview (default), workflow, reading_state, recovery. Read-only.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/guide_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/guide_read.md",
      "input_schema": {
        "properties": {
          "section": {
            "description": "Section to read; overview by default.",
            "enum": [
              "overview",
              "reading_state",
              "recovery",
              "workflow"
            ],
            "type": "string"
          },
          "topic": {
            "description": "The guide to read.",
            "enum": [
              "publications"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "section": {
            "type": "string"
          },
          "sections": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "about": {
                  "type": "string"
                },
                "section": {
                  "type": "string"
                }
              },
              "required": [
                "section",
                "about"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "text": {
            "type": "string"
          },
          "topic": {
            "type": "string"
          }
        },
        "required": [
          "topic",
          "section",
          "text",
          "sections"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One guide section per call",
          "max_bytes": 12288,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "topic": "publications",
        "section": "workflow"
      },
      "example_result": {
        "result": {
          "topic": "publications",
          "section": "workflow",
          "text": "# Working safely, in order",
          "sections": [
            {
              "section": "workflow",
              "about": "The safe order of work, from first read to after the click."
            }
          ]
        }
      }
    },
    {
      "name": "listing_create",
      "title": "Listing create",
      "group": "listings",
      "summary": "Create a blank listing or copy an existing listing in the same shop.",
      "description": "Create a blank listing or copy an existing listing in the same shop. For requests to duplicate a listing or create one based on it, use from_listing_id with client_request_id. This runs the same Copy operation as Tusella and carries workspace fields and media into a new draft with its own identity. Apply requested changes afterward to the returned listing_id.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listing_create/",
      "markdown": "https://tusella.com/docs/mcp/tools/listing_create.md",
      "input_schema": {
        "properties": {
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "description": {
            "description": "Optional listing description.",
            "type": "string"
          },
          "from_listing_id": {
            "description": "UUID of the source listing for a same-shop copy. Supply only this field and client_request_id. Edit the returned copy in a separate call.",
            "type": "string"
          },
          "shop_id": {
            "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
            "type": "string"
          },
          "title": {
            "description": "Optional listing title.",
            "type": "string"
          },
          "working_name": {
            "description": "Optional private working name for the seller's own reference.",
            "type": "string"
          }
        },
        "required": [
          "client_request_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "listing_id": {
            "type": "string"
          },
          "shop_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "working_name": {
            "type": "string"
          }
        },
        "required": [
          "listing_id"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One listing identity.",
          "max_bytes": 2048,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-copy",
        "from_listing_id": "00000000-0000-0000-0000-000000000002"
      },
      "example_result": {
        "result": {
          "listing_id": "00000000-0000-0000-0000-000000000001",
          "shop_id": "00000000-0000-0000-0000-000000000001",
          "title": "Café mug",
          "working_name": "Example"
        }
      }
    },
    {
      "name": "listing_photos_edit",
      "title": "Listing photos edit",
      "group": "listings",
      "summary": "Arrange one listing's photos and videos: add a photo or video from a chat file, add a photo from a URL or uploaded asset, reserve an upload slot, reorder, remove, set alt text, or add, replace, or remove a video.",
      "description": "Arrange one listing's photos and videos: add a photo or video from a chat file, add a photo from a URL or uploaded asset, reserve an upload slot, reorder, remove, set alt text, or add, replace, or remove a video. Not destructive — a remove is recovered by re-adding the asset, not by field revert. Variation-photo associations move only through the variation authoring family (listing_variations_preview/apply/propose). Tusella obtains the file for an imported Etsy video before adding or replacing it. For a full same-shop listing copy, use listing_create with from_listing_id.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Undo: by the inverse `listing_photos_edit` action.",
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listing_photos_edit/",
      "markdown": "https://tusella.com/docs/mcp/tools/listing_photos_edit.md",
      "input_schema": {
        "properties": {
          "alt_text": {
            "description": "set_alt_text: the new alt text.",
            "type": "string"
          },
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "content_type": {
            "description": "request_upload: the MIME type of the bytes you will PUT.",
            "enum": [
              "image/heic",
              "image/heif",
              "image/jpeg",
              "image/png",
              "image/tiff",
              "image/webp",
              "video/mp4",
              "video/quicktime"
            ],
            "type": "string"
          },
          "file": {
            "additionalProperties": false,
            "description": "Chat file: add accepts JPEG/PNG/WebP; add_video/set_video accept MP4/MOV. Tusella downloads the bytes; no client PUT is needed. Exactly one of file/image_url/media_asset_id for add, or file/media_asset_id for video. set_video also requires media_id of the video to replace.",
            "properties": {
              "download_url": {
                "description": "Temporary public HTTPS download URL supplied by the client; refresh if expired.",
                "maxLength": 16384,
                "minLength": 1,
                "type": "string"
              },
              "file_id": {
                "description": "Stable client file identifier; retained as a digest for request replay.",
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "file_name": {
                "description": "Optional advisory original name; not retained by Tusella.",
                "maxLength": 1024,
                "type": "string"
              },
              "mime_type": {
                "description": "Optional advisory MIME type; actual downloaded bytes are validated.",
                "maxLength": 255,
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "type": "object"
          },
          "filename": {
            "description": "request_upload: the original filename.",
            "type": "string"
          },
          "image_url": {
            "description": "add: a public http(s) image URL to fetch server-side (JPEG, PNG, or WebP). URLs resolving to private or internal addresses are rejected. Exactly one of file/image_url/media_asset_id.",
            "type": "string"
          },
          "listing_id": {
            "description": "UUID of the listing. External agents must supply it; an in-app turn may use its bound listing.",
            "type": "string"
          },
          "media_asset_id": {
            "description": "add: an image already uploaded via request_upload (exactly one of file/image_url/media_asset_id). add_video / set_video: the video asset to place; exactly one of file/media_asset_id.",
            "type": "string"
          },
          "media_id": {
            "description": "remove / set_alt_text: the photo to act on. set_video / remove_video (required): the membership_id of the video to replace or remove, from listing_read's photos part (video.videos).",
            "type": "string"
          },
          "media_ids": {
            "description": "reorder: the full active photo list, in the new order.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "media_kind": {
            "description": "request_upload: image (default) or video. Video requires listing_id; PUT bytes before add_video/set_video.",
            "enum": [
              "image",
              "video"
            ],
            "type": "string"
          },
          "op": {
            "description": "add, request_upload, reorder, remove, set_alt_text, add_video (a new video, never a replacement; at most 2 per listing), set_video (replace the video media_id names), or remove_video (remove the video media_id names).",
            "enum": [
              "add",
              "request_upload",
              "reorder",
              "remove",
              "set_alt_text",
              "add_video",
              "set_video",
              "remove_video"
            ],
            "type": "string"
          },
          "size_bytes": {
            "description": "request_upload: the exact byte size of the media.",
            "type": "integer"
          },
          "target": {
            "description": "add: candidate (default — positioned later) or active (straight into the live gallery).",
            "enum": [
              "candidate",
              "active"
            ],
            "type": "string"
          }
        },
        "required": [
          "client_request_id",
          "op"
        ],
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "action_result": {
            "type": "object"
          },
          "applied": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "change": {
            "additionalProperties": false,
            "properties": {
              "media_ids": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "op": {
                "type": "string"
              },
              "previous_ranks": {
                "additionalProperties": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "type": "object"
              }
            },
            "required": [
              "op",
              "media_ids",
              "previous_ranks"
            ],
            "type": "object"
          },
          "change_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "completed_at": {
            "format": "date-time",
            "type": "string"
          },
          "expires_at": {
            "type": "string"
          },
          "field_change_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "field_changes": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "after": {},
                "before": {},
                "display": {
                  "additionalProperties": false,
                  "properties": {
                    "after": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "before": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "before",
                    "after"
                  ],
                  "type": "object"
                },
                "field": {
                  "type": "string"
                },
                "values_omitted": {
                  "type": "boolean"
                }
              },
              "required": [
                "field",
                "before",
                "after",
                "display"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "gallery": {
            "additionalProperties": false,
            "properties": {
              "only_on_etsy_count": {
                "minimum": 0,
                "type": "integer"
              },
              "revision": {
                "type": "string"
              },
              "rows": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "is_cover": {
                      "type": "boolean"
                    },
                    "media_id": {
                      "type": "string"
                    },
                    "preview": {
                      "additionalProperties": false,
                      "properties": {
                        "expires_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "url",
                        "expires_at"
                      ],
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "rank": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "state": {
                      "enum": [
                        "active",
                        "only_on_etsy"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "media_id",
                    "rank",
                    "state",
                    "is_cover",
                    "preview"
                  ],
                  "type": "object"
                },
                "maxItems": 6,
                "type": "array"
              },
              "total": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "rows",
              "total",
              "only_on_etsy_count",
              "revision"
            ],
            "type": "object"
          },
          "listing": {
            "additionalProperties": false,
            "properties": {
              "changes_vs_etsy": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "price_max": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "string"
                  },
                  "currency_code": {
                    "type": "string"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "price_min": {
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "string"
                  },
                  "currency_code": {
                    "type": "string"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "price_varies": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "thumbnail": {
                "additionalProperties": false,
                "properties": {
                  "expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "expires_at"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              }
            },
            "type": [
              "object",
              "null"
            ]
          },
          "listing_id": {
            "type": "string"
          },
          "media": {
            "additionalProperties": false,
            "properties": {
              "media_id": {
                "type": "string"
              },
              "preview": {
                "additionalProperties": false,
                "properties": {
                  "expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "expires_at"
                ],
                "type": [
                  "object",
                  "null"
                ]
              }
            },
            "required": [
              "media_id",
              "preview"
            ],
            "type": [
              "object",
              "null"
            ]
          },
          "media_asset_id": {
            "type": "string"
          },
          "media_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "skipped": {
            "items": {
              "properties": {
                "field": {
                  "type": "string"
                },
                "media_id": {
                  "type": "string"
                },
                "skipped_reason": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "upload_url": {
            "type": "string"
          }
        },
        "required": [],
        "type": "object",
        "x-result-size-budget": {
          "description": "One write receipt.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "listing_id": "00000000-0000-0000-0000-000000000001",
        "op": "add",
        "file": {
          "download_url": "https://files.test/image.png",
          "file_id": "example-file",
          "mime_type": "image/png"
        },
        "target": "candidate"
      },
      "example_result": {
        "result": {
          "listing_id": "00000000-0000-0000-0000-000000000001",
          "media_id": "00000000-0000-0000-0000-000000000001",
          "applied": [
            "alt_text"
          ],
          "skipped": []
        }
      }
    },
    {
      "name": "listing_read",
      "title": "Listing read",
      "group": "listings",
      "summary": "Read everything about one listing, on demand and by part.",
      "description": "Read everything about one listing, on demand and by part. For titles, tags, descriptions or materials across several listings, prefer listings_find with listing_ids and selected fields. Read per-listing details such as full photos sequentially when a batch read cannot supply them. parts is a subset of the eleven listing parts; include adds summary, the publish-grade Etsy diff, or plain-words publish blockers. Use listing_variations_read with view=combinations and selected fields for SKU, price, stock or enabled-state inspection across variations. A variations part too large for the response returns variations.summary in place of the matrix beside the other parts; it is incomplete and grants no variations read coverage. media_candidates pages candidate photos with asset IDs for listing_photos_edit add target=active; Use media_gallery for browsing and selecting active photos: an exclusive bounded page without read_id or full photos coverage. Continue on request with next_offset and revision, or use the widget navigation. photo_preview={media_id} returns one bounded native MCP photo preview for an explicitly requested individual image; never use a preview-call burst as a fallback for an oversized gallery or photos read. it is exclusive of other read modes and grants no read coverage. A fitting category_attributes read gives attribute_entries keyed by property_id for an attributes write, preserving value ids, scale ids and multiple values; attributes itself is display text only. A fitting read returns read_id for a later write. Description is available through content exact mode in bounded fragments; other oversized indivisible fields retain their refusal. Content preview is an excerpt with no write coverage. content.field=notes reads private Workspace notes through the same bounded chain, without write coverage or an Etsy source. compact=true replaces repeated description comparison values with exact-content selectors, without covering omitted values, and counts successful readiness checks while retaining every failed check. Prefer compact when combining photos and publish_blockers. Use shop_overview for a shop-wide question and listings_find to locate a listing by seller-facing facts; never ask the seller for an internal listing_id. Read-only; listing-scoped.",
      "scopes": [
        "listings:read",
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listing_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/listing_read.md",
      "input_schema": {
        "allOf": [
          {
            "if": {
              "required": [
                "media_gallery"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "photo_preview"
                    ]
                  },
                  {
                    "required": [
                      "media_candidates"
                    ]
                  },
                  {
                    "required": [
                      "content"
                    ]
                  },
                  {
                    "required": [
                      "parts"
                    ]
                  },
                  {
                    "required": [
                      "include"
                    ]
                  },
                  {
                    "required": [
                      "compact"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "required": [
                "photo_preview"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "content"
                    ]
                  },
                  {
                    "required": [
                      "parts"
                    ]
                  },
                  {
                    "required": [
                      "include"
                    ]
                  },
                  {
                    "required": [
                      "compact"
                    ]
                  },
                  {
                    "required": [
                      "media_candidates"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "required": [
                "media_candidates"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "content"
                    ]
                  },
                  {
                    "required": [
                      "parts"
                    ]
                  },
                  {
                    "required": [
                      "include"
                    ]
                  },
                  {
                    "required": [
                      "compact"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "required": [
                "content"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "parts"
                    ]
                  },
                  {
                    "required": [
                      "include"
                    ]
                  },
                  {
                    "required": [
                      "compact"
                    ]
                  }
                ]
              }
            }
          }
        ],
        "properties": {
          "compact": {
            "description": "Omit repeated description comparison values with exact content selectors; count successful readiness checks and retain every failure. Requested complete parts stay exact.",
            "type": "boolean"
          },
          "content": {
            "additionalProperties": false,
            "allOf": [
              {
                "if": {
                  "properties": {
                    "mode": {
                      "const": "preview"
                    }
                  }
                },
                "then": {
                  "not": {
                    "required": [
                      "cursor"
                    ]
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "field": {
                      "const": "notes"
                    }
                  }
                },
                "then": {
                  "properties": {
                    "source": {
                      "const": "workspace"
                    }
                  }
                }
              }
            ],
            "description": "Exact description or private Workspace notes fragments, or a bounded preview; exclusive of explicit parts/include. Only completed exact Workspace description chains return read_id.",
            "properties": {
              "cursor": {
                "maxLength": 2048,
                "type": "string"
              },
              "field": {
                "enum": [
                  "description",
                  "notes"
                ],
                "type": "string"
              },
              "mode": {
                "enum": [
                  "exact",
                  "preview"
                ],
                "type": "string"
              },
              "source": {
                "default": "workspace",
                "enum": [
                  "workspace",
                  "current_etsy"
                ],
                "type": "string"
              }
            },
            "required": [
              "mode",
              "field"
            ],
            "type": "object"
          },
          "include": {
            "description": "Any of summary, changes_vs_etsy, changed_sections, publish_blockers; default summary. changed_sections names each section that differs from Etsy (changed or unknown) without values, or null when the listing is not on Etsy or its comparison is unknown.",
            "items": {
              "enum": [
                "changed_sections",
                "changes_vs_etsy",
                "publish_blockers",
                "summary"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "listing_id": {
            "description": "UUID of the listing. External agents must supply it; an in-app turn may use its bound listing.",
            "type": "string"
          },
          "media_candidates": {
            "additionalProperties": false,
            "description": "Page candidate photos; exclusive of parts/include/content/compact. Asset IDs can be added with listing_photos_edit target=active. No read coverage.",
            "properties": {
              "limit": {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              "offset": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "media_gallery": {
            "additionalProperties": false,
            "allOf": [
              {
                "if": {
                  "properties": {
                    "offset": {
                      "minimum": 1
                    }
                  },
                  "required": [
                    "offset"
                  ]
                },
                "then": {
                  "required": [
                    "revision"
                  ]
                }
              }
            ],
            "description": "Bounded photo gallery: active photos in rank order, then photos removed in Tusella that are still live on Etsy (state only_on_etsy, in Etsy order); exclusive of other read modes. Continue with next_offset and the returned revision. No full photos coverage or read_id.",
            "properties": {
              "limit": {
                "maximum": 6,
                "minimum": 1,
                "type": "integer"
              },
              "offset": {
                "minimum": 0,
                "type": "integer"
              },
              "revision": {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              }
            },
            "type": "object"
          },
          "parts": {
            "description": "Subset of the parts: category_attributes, commerce, description, details, digital_files, fulfillment, personalization, photos, tags, title, variations.",
            "items": {
              "enum": [
                "category_attributes",
                "commerce",
                "description",
                "details",
                "digital_files",
                "fulfillment",
                "personalization",
                "photos",
                "tags",
                "title",
                "variations"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "photo_preview": {
            "additionalProperties": false,
            "description": "Preview one photo from parts=photos or media_candidates. Exclusive of other read modes; no write coverage. MCP returns a native image with metadata.",
            "properties": {
              "media_id": {
                "format": "uuid",
                "type": "string"
              }
            },
            "required": [
              "media_id"
            ],
            "type": "object"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "oneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "photo_preview"
                  ]
                },
                {
                  "required": [
                    "media_candidates"
                  ]
                },
                {
                  "required": [
                    "parts"
                  ]
                },
                {
                  "required": [
                    "read_id"
                  ]
                },
                {
                  "required": [
                    "content"
                  ]
                },
                {
                  "required": [
                    "summary"
                  ]
                },
                {
                  "required": [
                    "changes_vs_etsy"
                  ]
                },
                {
                  "required": [
                    "changed_sections"
                  ]
                },
                {
                  "required": [
                    "publish_blockers"
                  ]
                }
              ]
            },
            "required": [
              "media_gallery"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "parts"
                  ]
                },
                {
                  "required": [
                    "read_id"
                  ]
                },
                {
                  "required": [
                    "content"
                  ]
                },
                {
                  "required": [
                    "summary"
                  ]
                },
                {
                  "required": [
                    "changes_vs_etsy"
                  ]
                },
                {
                  "required": [
                    "changed_sections"
                  ]
                },
                {
                  "required": [
                    "publish_blockers"
                  ]
                },
                {
                  "required": [
                    "media_candidates"
                  ]
                },
                {
                  "required": [
                    "media_gallery"
                  ]
                }
              ]
            },
            "required": [
              "photo_preview"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "parts"
                  ]
                },
                {
                  "required": [
                    "read_id"
                  ]
                },
                {
                  "required": [
                    "content"
                  ]
                },
                {
                  "required": [
                    "summary"
                  ]
                },
                {
                  "required": [
                    "changes_vs_etsy"
                  ]
                },
                {
                  "required": [
                    "changed_sections"
                  ]
                },
                {
                  "required": [
                    "publish_blockers"
                  ]
                },
                {
                  "required": [
                    "media_gallery"
                  ]
                }
              ]
            },
            "required": [
              "media_candidates"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "content"
                  ]
                },
                {
                  "required": [
                    "media_gallery"
                  ]
                }
              ]
            },
            "required": [
              "parts",
              "read_id"
            ]
          },
          {
            "allOf": [
              {
                "else": {
                  "not": {
                    "required": [
                      "read_id"
                    ]
                  }
                },
                "if": {
                  "properties": {
                    "content": {
                      "properties": {
                        "coverage": {
                          "const": "complete"
                        },
                        "field": {
                          "const": "description"
                        },
                        "representation": {
                          "const": "fragment"
                        },
                        "source": {
                          "const": "workspace"
                        }
                      }
                    }
                  }
                },
                "then": {
                  "required": [
                    "read_id"
                  ]
                }
              }
            ],
            "not": {
              "anyOf": [
                {
                  "required": [
                    "parts"
                  ]
                },
                {
                  "required": [
                    "media_gallery"
                  ]
                }
              ]
            },
            "required": [
              "content"
            ]
          }
        ],
        "properties": {
          "changed_sections": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "section": {
                  "type": "string"
                },
                "state": {
                  "enum": [
                    "changed",
                    "unknown"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "section",
                "state"
              ],
              "type": "object"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "changes_vs_etsy": {
            "additionalProperties": false,
            "description": "Header fields plus fields — only entries whose field_state is not unchanged, each reduced to field, field_state, workspace_value, current_etsy_value, will_write — plus unchanged_field_count.",
            "properties": {
              "allowed_actions": {
                "items": {
                  "enum": [
                    "publish_update",
                    "discard_local",
                    "acknowledge_etsy_state",
                    "overwrite_etsy",
                    "dismiss"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              "current_state": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "etsy_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fields": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "current_etsy_value": {
                      "description": "Exact current Etsy value, or an explicit description omission with total_chars and an exact content selector in compact mode; null remains unavailable."
                    },
                    "field": {
                      "type": "string"
                    },
                    "field_state": {
                      "enum": [
                        "local_change",
                        "remote_change",
                        "conflict",
                        "unknown",
                        "unsupported"
                      ],
                      "type": "string"
                    },
                    "will_write": {
                      "type": "boolean"
                    },
                    "workspace_value": {
                      "description": "Exact value, or an explicit description omission with total_chars and an exact content selector in compact mode; null remains unavailable."
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "has_reviewable_fields": {
                "type": "boolean"
              },
              "is_first_publish": {
                "type": "boolean"
              },
              "media_changes": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "alt_text_current": {
                      "type": "string"
                    },
                    "alt_text_published": {
                      "type": "string"
                    },
                    "baseline_identity": {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "baseline_media_asset_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "baseline_membership_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "current_identity": {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "current_media_asset_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "current_membership_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "from_rank": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "media_kind": {
                      "enum": [
                        "image",
                        "video"
                      ],
                      "type": "string"
                    },
                    "readiness": {
                      "type": "string"
                    },
                    "remote_identity": {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "type": "string"
                        },
                        "value": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "structural_class": {
                      "enum": [
                        "unchanged",
                        "unknown",
                        "added",
                        "removed",
                        "reordered",
                        "replaced",
                        "alt_changed",
                        "remote_drift",
                        "local_remote_conflict"
                      ],
                      "type": "string"
                    },
                    "structural_classes": {
                      "items": {
                        "enum": [
                          "unchanged",
                          "unknown",
                          "added",
                          "removed",
                          "reordered",
                          "replaced",
                          "alt_changed",
                          "remote_drift",
                          "local_remote_conflict"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "to_rank": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "media_field_states": {
                "additionalProperties": false,
                "properties": {
                  "images": {
                    "type": "string"
                  },
                  "video": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "publish_effect": {
                "additionalProperties": false,
                "properties": {
                  "certainty": {
                    "enum": [
                      "exact",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "content_effect": {
                    "enum": [
                      "changed",
                      "none",
                      "unknown"
                    ],
                    "type": "string"
                  },
                  "listing_fee": {
                    "enum": [
                      "charged",
                      "possible",
                      "none"
                    ],
                    "type": "string"
                  },
                  "operation_kind": {
                    "enum": [
                      "create",
                      "content",
                      "state",
                      "content_and_state",
                      "none",
                      null
                    ],
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "state_effect": {
                    "enum": [
                      "changed",
                      "none",
                      "unknown"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "relationship_state": {
                "enum": [
                  "up_to_date",
                  "unpublished_changes",
                  "changed_on_etsy",
                  "conflict",
                  "unknown"
                ],
                "type": "string"
              },
              "remote_freshness": {
                "enum": [
                  "fresh",
                  "stale",
                  "unavailable",
                  "not_covered"
                ],
                "type": "string"
              },
              "remote_observed_at": {
                "format": "date-time",
                "type": [
                  "string",
                  "null"
                ]
              },
              "target_state": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unchanged_field_count": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "content": {
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "coverage": {
                    "enum": [
                      "partial",
                      "complete"
                    ]
                  },
                  "end": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "field": {
                    "enum": [
                      "description",
                      "notes"
                    ]
                  },
                  "fragment": {
                    "maxLength": 4096,
                    "type": "string"
                  },
                  "next_cursor": {
                    "maxLength": 2048,
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "offset": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "representation": {
                    "const": "fragment"
                  },
                  "source": {
                    "enum": [
                      "workspace",
                      "current_etsy"
                    ]
                  },
                  "total_chars": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "field",
                  "source",
                  "representation",
                  "offset",
                  "end",
                  "total_chars",
                  "fragment",
                  "coverage",
                  "next_cursor"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "coverage": {
                    "const": "partial"
                  },
                  "excerpt": {
                    "maxLength": 512,
                    "type": "string"
                  },
                  "field": {
                    "enum": [
                      "description",
                      "notes"
                    ]
                  },
                  "representation": {
                    "const": "preview"
                  },
                  "source": {
                    "enum": [
                      "workspace",
                      "current_etsy"
                    ]
                  },
                  "total_chars": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "field",
                  "source",
                  "representation",
                  "excerpt",
                  "total_chars",
                  "coverage"
                ],
                "type": "object"
              }
            ]
          },
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "observed_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "type": "object"
          },
          "media_candidates": {
            "additionalProperties": false,
            "properties": {
              "next_offset": {
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "rows": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "alt_text": {
                      "type": "string"
                    },
                    "byte_status": {
                      "type": "string"
                    },
                    "content_type": {
                      "type": "string"
                    },
                    "height": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "media_asset_id": {
                      "type": "string"
                    },
                    "media_id": {
                      "type": "string"
                    },
                    "state": {
                      "const": "candidate"
                    },
                    "width": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "media_id",
                    "media_asset_id",
                    "state",
                    "byte_status",
                    "alt_text",
                    "width",
                    "height",
                    "content_type"
                  ],
                  "type": "object"
                },
                "maxItems": 100,
                "type": "array"
              }
            },
            "required": [
              "rows",
              "next_offset"
            ],
            "type": "object"
          },
          "media_gallery": {
            "additionalProperties": false,
            "properties": {
              "next_offset": {
                "minimum": 0,
                "type": [
                  "integer",
                  "null"
                ]
              },
              "offset": {
                "minimum": 0,
                "type": "integer"
              },
              "only_on_etsy_count": {
                "minimum": 0,
                "type": "integer"
              },
              "revision": {
                "pattern": "^[a-f0-9]{64}$",
                "type": "string"
              },
              "rows": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "alt_text": {
                      "type": "string"
                    },
                    "byte_status": {
                      "type": "string"
                    },
                    "media_asset_id": {
                      "type": "string"
                    },
                    "media_id": {
                      "type": "string"
                    },
                    "rank": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "state": {
                      "enum": [
                        "active",
                        "only_on_etsy"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "media_id",
                    "media_asset_id",
                    "rank",
                    "state",
                    "alt_text",
                    "byte_status"
                  ],
                  "type": "object"
                },
                "maxItems": 6,
                "type": "array"
              },
              "total": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "required": [
              "rows",
              "total",
              "offset",
              "next_offset",
              "revision"
            ],
            "type": "object"
          },
          "parts": {
            "additionalProperties": false,
            "properties": {
              "category_attributes": {
                "additionalProperties": false,
                "properties": {
                  "attribute_entries": {
                    "additionalProperties": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "property_value_id": {
                            "minimum": 1,
                            "type": "integer"
                          },
                          "scale_id": {
                            "minimum": 1,
                            "type": "integer"
                          },
                          "value": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "type": "object"
                      },
                      "minItems": 1,
                      "type": "array"
                    },
                    "description": "Stored values keyed by Etsy property_id, with one entry per value slot. Pass this map as the attributes set value in listings_edit; catalog value ids and scale ids are retained. attributes is display text only. A missing optional id stays absent; labels never infer identity.",
                    "type": "object"
                  },
                  "attributes": {
                    "type": "object"
                  },
                  "taxonomy_id": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "commerce": {
                "additionalProperties": false,
                "properties": {
                  "currency_code": {
                    "type": "string"
                  },
                  "price": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "quantity": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "sku": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "description": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "details": {
                "additionalProperties": false,
                "properties": {
                  "is_supply": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "is_taxable": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "is_taxable_supported": {
                    "type": "boolean"
                  },
                  "item_dimensions_unit": {
                    "type": "string"
                  },
                  "item_height": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "item_length": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "item_weight": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "item_weight_unit": {
                    "type": "string"
                  },
                  "item_width": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "production_partner_ids": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "shop_section_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "should_auto_renew": {
                    "type": "boolean"
                  },
                  "stale_production_partner_ids": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "styles": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "type": {
                    "type": "string"
                  },
                  "when_made": {
                    "type": "string"
                  },
                  "who_made": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "digital_files": {
                "additionalProperties": false,
                "properties": {
                  "availability_state": {
                    "enum": [
                      "available",
                      "known_empty",
                      "unavailable",
                      "not_fetched"
                    ],
                    "type": "string"
                  },
                  "files": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "last_fetched_at": {
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "provider": {
                    "type": "string"
                  },
                  "schema_version": {
                    "type": "integer"
                  },
                  "source_status": {
                    "type": "string"
                  },
                  "write_posture": {
                    "enum": [
                      "writable",
                      "read_only"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "fulfillment": {
                "additionalProperties": false,
                "properties": {
                  "readiness_state_id": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "return_policy_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "shipping_profile_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "personalization": {
                "additionalProperties": false,
                "properties": {
                  "personalization": {
                    "type": [
                      "object",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "photos": {
                "additionalProperties": false,
                "properties": {
                  "photos": {
                    "additionalProperties": false,
                    "properties": {
                      "cover": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "items": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "alt_text": {
                              "type": "string"
                            },
                            "byte_status": {
                              "enum": [
                                "pending_bytes",
                                "ready",
                                "failed_bytes",
                                "remote_only"
                              ],
                              "type": "string"
                            },
                            "content_type": {
                              "type": "string"
                            },
                            "height": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "media_asset_id": {
                              "type": "string"
                            },
                            "media_id": {
                              "type": "string"
                            },
                            "rank": {
                              "type": "integer"
                            },
                            "source_kind": {
                              "enum": [
                                "upload",
                                "generation",
                                "import",
                                "manual"
                              ],
                              "type": "string"
                            },
                            "state": {
                              "enum": [
                                "active",
                                "candidate"
                              ],
                              "type": "string"
                            },
                            "width": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "variation_images": {
                    "additionalProperties": false,
                    "properties": {
                      "association_digest": {
                        "type": "string"
                      },
                      "bindings": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "dormant_bindings": {
                        "items": {
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "video": {
                    "additionalProperties": false,
                    "properties": {
                      "videos": {
                        "items": {
                          "properties": {
                            "media_asset_id": {
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "tags": {
                "additionalProperties": false,
                "properties": {
                  "tags": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              },
              "title": {
                "additionalProperties": false,
                "properties": {
                  "title": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "variations": {
                "additionalProperties": false,
                "properties": {
                  "basis": {
                    "additionalProperties": false,
                    "properties": {
                      "correlation": {
                        "additionalProperties": false,
                        "properties": {
                          "listing_identity": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "kind": {
                        "enum": [
                          "absent",
                          "unknown",
                          "complete"
                        ],
                        "type": "string"
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "shared_commerce": {
                        "additionalProperties": false,
                        "properties": {
                          "currency_code": {
                            "type": "string"
                          },
                          "price": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "quantity": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "readiness_state_id": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "sku": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "capability": {
                    "additionalProperties": false,
                    "properties": {
                      "admitted": {
                        "type": "boolean"
                      },
                      "custom_axis_available": {
                        "type": "boolean"
                      },
                      "reasons": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "taxonomy_state": {
                        "enum": [
                          "taxonomy_absent",
                          "taxonomy_metadata_unresolved",
                          "taxonomy_metadata_stale",
                          "taxonomy_ready_empty",
                          "taxonomy_ready"
                        ],
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "core": {
                    "additionalProperties": false,
                    "properties": {
                      "axes": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "position": {
                              "type": "integer"
                            },
                            "source": {
                              "additionalProperties": false,
                              "properties": {
                                "identity": {
                                  "type": "string"
                                },
                                "kind": {
                                  "enum": [
                                    "custom",
                                    "taxonomy"
                                  ],
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "values": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "identity": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  }
                                },
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "correlation": {
                        "additionalProperties": false,
                        "properties": {
                          "listing_identity": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "differentiation": {
                        "type": "array"
                      },
                      "offerings": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "commerce": {
                              "additionalProperties": false,
                              "properties": {
                                "currency_code": {
                                  "type": "string"
                                },
                                "price": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "quantity": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "readiness_state_id": {
                                  "type": [
                                    "integer",
                                    "null"
                                  ]
                                },
                                "sku": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "type": "object"
                            },
                            "enabled": {
                              "type": "boolean"
                            },
                            "identity": {
                              "type": "string"
                            },
                            "position": {
                              "type": "integer"
                            },
                            "selection_value_identities": {
                              "items": {
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "shared_commerce": {
                        "additionalProperties": false,
                        "properties": {
                          "currency_code": {
                            "type": "string"
                          },
                          "price": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "quantity": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "readiness_state_id": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "sku": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "version": {
                        "type": "integer"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "core_digest": {
                    "type": "string"
                  },
                  "dormant_offerings": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "commerce": {
                          "additionalProperties": false,
                          "properties": {
                            "currency_code": {
                              "type": "string"
                            },
                            "price": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "quantity": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "readiness_state_id": {
                              "type": [
                                "integer",
                                "null"
                              ]
                            },
                            "sku": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": "object"
                        },
                        "enabled": {
                          "type": "boolean"
                        },
                        "identity": {
                          "type": "string"
                        },
                        "selection_value_identities": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "dormant_values": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "identity": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "source": {
                          "additionalProperties": false,
                          "properties": {
                            "identity": {
                              "type": "string"
                            },
                            "kind": {
                              "enum": [
                                "custom",
                                "taxonomy"
                              ],
                              "type": "string"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "inventory_digest": {
                    "type": "string"
                  },
                  "provider_values": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "property_id": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "scale_id": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "value_id": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "value_identity": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "summary": {
                    "additionalProperties": false,
                    "description": "Present only when the full variations part did not fit the response budget, in place of every other variations member. A summary, not the full variation matrix: offerings, value identities, SKUs and digests are absent, and the read_id grants no variations read coverage. Read the matrix with alternative_tools or inspect it at tusella_url; never treat it as complete. price and quantity span enabled combinations; unset_count counts enabled combinations without a value.",
                    "properties": {
                      "alternative_tools": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "arguments": {
                              "type": "object"
                            },
                            "tool": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "tool",
                            "arguments"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "axes": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "label": {
                              "type": "string"
                            },
                            "position": {
                              "type": "integer"
                            },
                            "source": {
                              "additionalProperties": false,
                              "properties": {
                                "identity": {
                                  "type": "string"
                                },
                                "kind": {
                                  "enum": [
                                    "custom",
                                    "taxonomy"
                                  ],
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "value_count": {
                              "type": "integer"
                            }
                          },
                          "required": [
                            "label",
                            "position",
                            "source",
                            "value_count"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      },
                      "basis": {
                        "enum": [
                          "absent",
                          "unknown",
                          "complete"
                        ],
                        "type": "string"
                      },
                      "complete": {
                        "const": false
                      },
                      "differentiated_fields": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "enabled_offering_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "offering_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "price": {
                        "additionalProperties": false,
                        "properties": {
                          "currency_code": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "max": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "min": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "unset_count": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "min",
                          "max",
                          "currency_code",
                          "unset_count"
                        ],
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "quantity": {
                        "additionalProperties": false,
                        "properties": {
                          "max": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "min": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "unset_count": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "min",
                          "max",
                          "unset_count"
                        ],
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "reason": {
                        "const": "result_size_budget"
                      }
                    },
                    "required": [
                      "complete",
                      "reason",
                      "basis",
                      "axes",
                      "offering_count",
                      "enabled_offering_count",
                      "differentiated_fields",
                      "price",
                      "quantity",
                      "alternative_tools"
                    ],
                    "type": "object"
                  },
                  "version": {
                    "type": "integer"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "photo_preview": {
            "additionalProperties": false,
            "properties": {
              "byte_count": {
                "maximum": 13312,
                "minimum": 1,
                "type": "integer"
              },
              "height": {
                "maximum": 256,
                "minimum": 1,
                "type": "integer"
              },
              "media_asset_id": {
                "type": "string"
              },
              "media_id": {
                "type": "string"
              },
              "mime_type": {
                "const": "image/jpeg"
              },
              "representation": {
                "const": "preview"
              },
              "width": {
                "maximum": 256,
                "minimum": 1,
                "type": "integer"
              }
            },
            "required": [
              "media_id",
              "media_asset_id",
              "representation",
              "mime_type",
              "width",
              "height",
              "byte_count"
            ],
            "type": "object"
          },
          "provenance": {
            "type": "string"
          },
          "publish_blockers": {
            "additionalProperties": false,
            "properties": {
              "blocking_codes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "by_target": {
                "additionalProperties": {
                  "additionalProperties": false,
                  "properties": {
                    "blocking_codes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "ready": {
                      "type": "boolean"
                    },
                    "target": {
                      "enum": [
                        "draft",
                        "active"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "object"
              },
              "checks": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "field_paths": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "message": {
                      "type": "string"
                    },
                    "severity": {
                      "enum": [
                        "error",
                        "warning"
                      ],
                      "type": "string"
                    },
                    "source": {
                      "enum": [
                        "platform",
                        "fulfillment",
                        "taxonomy"
                      ],
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "pass",
                        "fail"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "status",
                    "severity",
                    "source",
                    "message"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "draft_blocking_codes": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "draft_ready": {
                "type": "boolean"
              },
              "evaluated_at": {
                "format": "date-time",
                "type": "string"
              },
              "passed_check_count": {
                "description": "Successful checks omitted only in compact mode; checks retains every failure.",
                "minimum": 0,
                "type": "integer"
              },
              "platform_ready": {
                "type": "boolean"
              },
              "quality_ready": {
                "type": "boolean"
              },
              "quality_score": {
                "type": [
                  "integer",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "read_id": {
            "type": "string"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "listing_id": {
                "type": "string"
              },
              "organization_id": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "summary": {
            "additionalProperties": false,
            "properties": {
              "labels": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "label_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "listing_id": {
                "type": "string"
              },
              "listing_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "shop_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": "string"
              },
              "thumbnail": {
                "additionalProperties": false,
                "properties": {
                  "expires_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "url",
                  "expires_at"
                ],
                "type": [
                  "object",
                  "null"
                ]
              },
              "verdict": {
                "additionalProperties": false,
                "properties": {
                  "comparison_readiness": {
                    "type": "string"
                  },
                  "has_unpublished_changes": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "needs_refresh": {
                    "type": "boolean"
                  },
                  "on_etsy": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "working_name": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "tusella_url": {
            "type": "string"
          }
        },
        "required": [
          "scope",
          "tusella_url",
          "freshness",
          "provenance"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "exact description fragments at most 4096 code points, previews at most 512, both fitted before coverage; legacy any subset of the eleven parts; changes_vs_etsy bounded to changed fields only; the photos part trimmed to the lean shape without URLs; unpaged, bounded by the Etsy field limits; a complete external response that cannot fit the MCP result budget returns result_size_budget_exceeded before a read_id is minted",
          "max_bytes": 262144,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "listing_id": "00000000-0000-0000-0000-000000000001",
        "parts": [
          "title",
          "description"
        ],
        "include": [
          "summary"
        ]
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001",
            "listing_id": "00000000-0000-0000-0000-000000000001"
          },
          "tusella_url": "https://tusella.test/listings/00000000-0000-0000-0000-000000000001",
          "freshness": {
            "observed_at": "2026-10-03T00:00:00Z"
          },
          "provenance": "workspace",
          "parts": {
            "title": {
              "title": "Café mug"
            },
            "description": {
              "description": "Handmade “mug”\n界"
            }
          },
          "read_id": "00000000-0000-0000-0000-000000000001"
        }
      }
    },
    {
      "name": "listing_variations_read",
      "title": "Listing variations read",
      "group": "listings",
      "summary": "Read one listing's variations in seller vocabulary: structure, field modes, category capability and limits, profile governance, photo associations, readiness, and paged combinations.",
      "description": "Read one listing's variations in seller vocabulary: structure, field modes, category capability and limits, profile governance, photo associations, readiness, and paged combinations. view selects authoring (default: structure, field modes, category capability, profile governance, photo associations, readiness, and the first combination page), combinations (the overview and a combination page), or issues (the overview and readiness). Oversized category value catalogs omit allowed_values and return values_included=false plus values_read arguments for exact reference_lookup pages. Mints a read_id a later write binds to. Read-only; listing-scoped. For SKU, price, stock or enabled-state inspection, use view=combinations and request only needed fields. Follow next_cursor with the returned read_id until it is null before claiming a complete read.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listing_variations_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/listing_variations_read.md",
      "input_schema": {
        "properties": {
          "cursor": {
            "description": "Continue a combination page with its read_id and unchanged fields and filters. A changed state or unavailable cursor requires a fresh read.",
            "type": "string"
          },
          "fields": {
            "description": "Restrict each combination row to these fields (offering_id and position always included); default all.",
            "items": {
              "enum": [
                "enabled",
                "price",
                "quantity",
                "readiness_state_id",
                "selection",
                "sku"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "filter": {
            "description": "Combination filter: stable option identities, enabled state, and bounded commerce-field equality checks.",
            "properties": {
              "commerce_equals": {
                "description": "Equality predicates over combination commerce fields: ['price', 'quantity', 'readiness_state_id', 'sku'].",
                "type": "object"
              },
              "enabled": {
                "description": "Restrict to enabled (true) or disabled (false) combinations.",
                "type": "boolean"
              },
              "option_identities": {
                "description": "Stable option identities every returned combination must include.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "limit": {
            "description": "Max combination rows per page (1-100, default 50).",
            "type": "integer"
          },
          "listing_id": {
            "description": "UUID of the listing. External agents must supply it; an in-app turn may use its bound listing.",
            "type": "string"
          },
          "read_id": {
            "description": "A read_id from a prior call; required when continuing with its cursor.",
            "type": "string"
          },
          "view": {
            "description": "authoring (default) returns structure, field modes, category capability and limits, profile governance, photo associations, readiness, and the first combination page; combinations returns the overview and a combination page; issues returns the overview and readiness.",
            "enum": [
              "authoring",
              "combinations",
              "issues"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "combinations": {
            "additionalProperties": false,
            "properties": {
              "next_cursor": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "rows": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "offering_id": {
                      "type": "string"
                    },
                    "position": {
                      "type": "integer"
                    },
                    "price": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "quantity": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "readiness_state_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "selection": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "axis_source": {
                            "additionalProperties": false,
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "custom",
                                  "taxonomy"
                                ],
                                "type": "string"
                              }
                            },
                            "type": "object"
                          },
                          "value": {
                            "additionalProperties": false,
                            "properties": {
                              "identity": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              }
                            },
                            "type": "object"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "sku": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "offering_id",
                    "position"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "total_count": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "constraints": {
            "additionalProperties": false,
            "properties": {
              "category": {
                "additionalProperties": false,
                "properties": {
                  "axes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "allowed_scales": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "scale_id": {
                                "type": "integer"
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "allowed_values": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "scale_id": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "value_id": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              }
                            },
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "attribute_max_values_allowed": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "display_text": {
                          "type": "string"
                        },
                        "is_required": {
                          "type": "boolean"
                        },
                        "property_id": {
                          "type": "integer"
                        },
                        "value_count": {
                          "type": "integer"
                        },
                        "values_included": {
                          "type": "boolean"
                        },
                        "values_read": {
                          "additionalProperties": false,
                          "properties": {
                            "arguments": {
                              "additionalProperties": false,
                              "properties": {
                                "kind": {
                                  "const": "category_attribute_values"
                                },
                                "property_id": {
                                  "type": "integer"
                                },
                                "revision_id": {
                                  "type": "integer"
                                },
                                "taxonomy_id": {
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "kind",
                                "taxonomy_id",
                                "property_id",
                                "revision_id"
                              ],
                              "type": "object"
                            },
                            "tool": {
                              "const": "reference_lookup"
                            }
                          },
                          "required": [
                            "tool",
                            "arguments"
                          ],
                          "type": "object"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "revision_fingerprint": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "revision_id": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "state": {
                    "type": "string"
                  },
                  "taxonomy_id": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "custom_property_ids": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "governance": {
                "additionalProperties": {
                  "additionalProperties": false,
                  "properties": {
                    "out_of_sync": {
                      "type": "boolean"
                    },
                    "profile_id": {
                      "type": "string"
                    },
                    "profile_name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "object"
              },
              "provider_policy": {
                "additionalProperties": false,
                "properties": {
                  "all_axis_differentiation_product_limit": {
                    "type": "integer"
                  },
                  "axis_read_limit": {
                    "type": "integer"
                  },
                  "axis_value_limit": {
                    "type": "integer"
                  },
                  "product_limits": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "axis_count": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "field_modes": {
            "additionalProperties": false,
            "properties": {
              "price": {
                "additionalProperties": false,
                "properties": {
                  "currency_code": {
                    "type": "string"
                  },
                  "effective_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mode": {
                    "enum": [
                      "shared",
                      "varied"
                    ],
                    "type": "string"
                  },
                  "retained_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "varies_by": {
                    "description": "For a varied field: the identity of the one axis it varies by, or every_combination. Null while shared.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "processing": {
                "additionalProperties": false,
                "properties": {
                  "effective_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mode": {
                    "enum": [
                      "shared",
                      "varied"
                    ],
                    "type": "string"
                  },
                  "retained_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "varies_by": {
                    "description": "For a varied field: the identity of the one axis it varies by, or every_combination. Null while shared.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "quantity": {
                "additionalProperties": false,
                "properties": {
                  "effective_shared_value": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "mode": {
                    "enum": [
                      "shared",
                      "varied"
                    ],
                    "type": "string"
                  },
                  "retained_shared_value": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "varies_by": {
                    "description": "For a varied field: the identity of the one axis it varies by, or every_combination. Null while shared.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "sku": {
                "additionalProperties": false,
                "properties": {
                  "effective_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "mode": {
                    "enum": [
                      "shared",
                      "varied"
                    ],
                    "type": "string"
                  },
                  "retained_shared_value": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "varies_by": {
                    "description": "For a varied field: the identity of the one axis it varies by, or every_combination. Null while shared.",
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "observed_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "type": "object"
          },
          "overview": {
            "additionalProperties": false,
            "properties": {
              "axis_count": {
                "type": "integer"
              },
              "currency_code": {
                "type": "string"
              },
              "differentiated_fields": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "enabled_offering_count": {
                "type": "integer"
              },
              "listing_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "offering_count": {
                "type": "integer"
              },
              "variation_authoring_available": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "page_read_id": {
            "description": "Read evidence for exactly the returned combination rows.",
            "type": "string"
          },
          "photos": {
            "additionalProperties": false,
            "properties": {
              "bindings": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "etsy_property_id": {
                      "type": "string"
                    },
                    "etsy_value_id": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "listing_media_id": {
                      "type": "string"
                    },
                    "value_text": {
                      "type": "string"
                    },
                    "variation_value_id": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              "dormant_bindings": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "etsy_property_id": {
                      "type": "string"
                    },
                    "etsy_value_id": {
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "listing_media_id": {
                      "type": "string"
                    },
                    "value_text": {
                      "type": "string"
                    },
                    "variation_value_id": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "provenance": {
            "type": "string"
          },
          "read_id": {
            "type": "string"
          },
          "readiness": {
            "additionalProperties": false,
            "properties": {
              "admitted": {
                "type": "boolean"
              },
              "custom_axis_available": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "issues": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "taxonomy_state": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "listing_id": {
                "type": "string"
              },
              "organization_id": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "structure": {
            "additionalProperties": false,
            "properties": {
              "axes": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "position": {
                      "type": "integer"
                    },
                    "source": {
                      "additionalProperties": false,
                      "properties": {
                        "identity": {
                          "type": "string"
                        },
                        "kind": {
                          "enum": [
                            "custom",
                            "taxonomy"
                          ],
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "values": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "identity": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            },
            "type": "object"
          },
          "view": {
            "enum": [
              "authoring",
              "combinations",
              "issues"
            ],
            "type": "string"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "view",
          "read_id"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "The complete consumer envelope is fitted before minting read coverage. Combination pages shrink without dropping continuation; oversized category value catalogs use exact-revision reference selectors. An indivisible oversized result refuses. Internal composition headroom and the final MCP wire limit narrow this domain ceiling.",
          "max_bytes": 262144,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "listing_id": "00000000-0000-0000-0000-000000000001",
        "view": "combinations",
        "fields": [
          "selection",
          "sku",
          "enabled"
        ],
        "limit": 25
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001",
            "listing_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "observed_at": "2026-11-05T00:00:00Z"
          },
          "provenance": "workspace",
          "view": "combinations",
          "read_id": "00000000000000000000000000000001",
          "combinations": {
            "rows": [
              {
                "offering_id": "00000000-0000-0000-0000-000000000002",
                "position": 0,
                "sku": "BAG-BLUE",
                "enabled": true
              }
            ],
            "next_cursor": null,
            "total_count": 1
          }
        }
      }
    },
    {
      "name": "listings_edit",
      "title": "Listings edit",
      "group": "listings",
      "summary": "Change listing fields on one listing, on the listings named by listing_ids, or on every listing a query finds.",
      "description": "Change listing fields on one listing, on the listings named by listing_ids, or on every listing a query finds. For one seller intent on the same targets, bundle compatible changes in one changes array rather than calling once per field. Direct single-listing edits may combine groups when all fields qualify for direct editing under current operation policy. taxonomy_id always requires a proposal; fields outside the direct family and multi-listing edits also use proposals. Each proposal changes one group named in the field description. mixed_parts applies nothing and returns retry_args: send each entry as its own listings_edit call, in order, unchanged. Resolve needed references first. Wait for the category operation to finish before looking up category-dependent attributes. Send annotations, labels, and description replace_text separately from other field changes. Use a fresh client_request_id for a new intent; reuse it only to retry the identical request. Each change is {field, apply}: set a value, merge items into a list, transform with a named op (replace_text {find, replace} in text, increase_percent on price, remove_values from a list), or assign one value per listing id. For assign, include at most 10 listings per call; split larger sets into smaller calls. Setting return_policy_id to null clears Workspace only; if Etsy has a selected policy, publish will refuse that clear. Use another policy id to replace it. A change to one listing is saved at once and returns a receipt whose recovery_ref undoes it through change_revert; there, a replace_text find must occur exactly once in the description and needs based_on_read. A change across several listings, or one that needs confirming such as a category change, returns an operation handle: read its summary and confirm it with operation_authorize, or set apply_safe_proposals=true to confirm a self-authorizable proposal in this call using the same policy and frozen-preview checks. This requires the operation_authorize grant for a name-scoped connection. Seller-only proposals remain proposed. Execution is asynchronous: use the returned status and handle with operation_read to check completion; authorized does not mean applied. Labels apply at once across any number of listings with no operation_authorize step; follow its handle with operation_read. Example: {\"client_request_id\": \"c1\", \"listing_id\": \"<id>\", \"changes\": [{\"field\": \"tags\", \"apply\": {\"mode\": \"merge\", \"append\": [\"gift\"]}}, {\"field\": \"materials\", \"apply\": {\"mode\": \"set\", \"value\": [\"cotton\"]}}]}. Org-scoped.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Undo: the result carries a `recovery_ref` for `change_revert`.",
        "May return an operation handle: follow it with `operation_read` until it finishes.",
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listings_edit/",
      "markdown": "https://tusella.com/docs/mcp/tools/listings_edit.md",
      "input_schema": {
        "$defs": {
          "d0": {
            "items": {
              "$ref": "#/$defs/d2"
            },
            "maxItems": 5,
            "minItems": 1,
            "type": "array"
          },
          "d1": {
            "additionalProperties": {
              "$ref": "#/$defs/d4"
            },
            "description": "Property-id or attribute-name keyed values. Each is a string, a {value, property_value_id?, scale_id?} entry, or an array of entries. Use arrays for multiple values, never comma-joined text. Catalog values need property_value_id; scale-bound values need scale_id. Find choices through reference_lookup category_attributes / category_attribute_values. For stored values, copy category_attributes.attribute_entries from listing_read.",
            "type": "object"
          },
          "d10": {
            "description": "Money such as {\"amount\": \"149.00\", \"currency_code\": \"USD\"}, or null to clear.",
            "examples": [
              {
                "amount": "149.00",
                "currency_code": "USD"
              }
            ],
            "properties": {
              "amount": {
                "description": "Decimal amount, preferably a string such as 149.00.",
                "type": [
                  "string",
                  "number"
                ]
              },
              "currency_code": {
                "description": "Use the listing/shop currency from listing_read or shop_overview.",
                "type": "string"
              }
            },
            "required": [
              "amount",
              "currency_code"
            ],
            "type": [
              "object",
              "null"
            ]
          },
          "d11": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "$ref": "#/$defs/d13"
              }
            ]
          },
          "d12": {
            "additionalProperties": false,
            "properties": {
              "mode": {
                "const": "transform",
                "type": "string"
              },
              "op": {
                "$ref": "#/$defs/d17"
              },
              "operand": {
                "description": "The transform's own input; shape depends on op."
              }
            },
            "required": [
              "mode",
              "op",
              "operand"
            ],
            "type": "object"
          },
          "d13": {
            "additionalProperties": false,
            "properties": {
              "property_value_id": {
                "description": "The provider value id from reference_lookup or listing_read.",
                "type": [
                  "integer",
                  "string",
                  "null"
                ]
              },
              "scale_id": {
                "description": "The scale id from reference_lookup or the stored value.",
                "type": [
                  "integer",
                  "string",
                  "null"
                ]
              },
              "value": {
                "description": "The selected or freeform display text.",
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          },
          "d14": {
            "additionalProperties": false,
            "properties": {
              "append": {
                "description": "Values to add to the field's existing list.",
                "items": {},
                "type": "array"
              },
              "mode": {
                "const": "merge",
                "type": "string"
              }
            },
            "required": [
              "mode",
              "append"
            ],
            "type": "object"
          },
          "d15": {
            "additionalProperties": false,
            "properties": {
              "mode": {
                "const": "assign",
                "type": "string"
              },
              "values": {
                "description": "One literal value per listing id being changed.",
                "type": "object"
              }
            },
            "required": [
              "mode",
              "values"
            ],
            "type": "object"
          },
          "d16": {
            "description": "Choose physical or download. The legacy Etsy value both is accepted only when the listing already holds it; changing to both is refused.",
            "enum": [
              "physical",
              "download",
              "both"
            ],
            "type": "string"
          },
          "d17": {
            "description": "The registered transform to apply.",
            "enum": [
              "decrease_amount",
              "decrease_percent",
              "increase_amount",
              "increase_percent",
              "remove_values",
              "replace_text",
              "replace_value"
            ],
            "type": "string"
          },
          "d18": {
            "additionalProperties": false,
            "properties": {
              "mode": {
                "const": "set",
                "type": "string"
              },
              "value": {
                "description": "The new value for the field."
              }
            },
            "required": [
              "mode",
              "value"
            ],
            "type": "object"
          },
          "d19": {
            "if": {
              "properties": {
                "question_type": {
                  "const": "labeled_upload"
                }
              },
              "required": [
                "question_type"
              ]
            },
            "then": {
              "properties": {
                "options": {
                  "items": {
                    "properties": {
                      "label": {
                        "maxLength": 45
                      }
                    }
                  }
                }
              }
            }
          },
          "d2": {
            "allOf": [
              {
                "$ref": "#/$defs/d20"
              },
              {
                "$ref": "#/$defs/d19"
              }
            ],
            "properties": {
              "add_on_price": {
                "$ref": "#/$defs/d22"
              },
              "instructions": {
                "maxLength": 120,
                "type": [
                  "string",
                  "null"
                ]
              },
              "max_allowed_characters": {
                "$ref": "#/$defs/d25"
              },
              "max_allowed_files": {
                "$ref": "#/$defs/d24"
              },
              "options": {
                "$ref": "#/$defs/d21"
              },
              "question_text": {
                "maxLength": 45,
                "type": "string"
              },
              "question_type": {
                "enum": [
                  "text_input",
                  "dropdown",
                  "unlabeled_upload",
                  "labeled_upload"
                ],
                "type": "string"
              },
              "required": {
                "type": "boolean"
              }
            },
            "required": [
              "question_type",
              "question_text",
              "instructions",
              "required",
              "max_allowed_characters",
              "max_allowed_files",
              "options"
            ],
            "type": "object"
          },
          "d20": {
            "if": {
              "properties": {
                "question_type": {
                  "const": "dropdown"
                }
              },
              "required": [
                "question_type"
              ]
            },
            "then": {
              "properties": {
                "options": {
                  "items": {
                    "properties": {
                      "label": {
                        "maxLength": 20
                      }
                    }
                  }
                }
              }
            }
          },
          "d21": {
            "description": "Options for dropdown, slot labels for labeled_upload, or [] otherwise.",
            "items": {
              "properties": {
                "label": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "d22": {
            "description": "For optional text_input, carry over the current price or use null when the requested personalization is free. A price uses {amount, currency_code}."
          },
          "d23": {
            "anyOf": [
              {
                "maximum": 9223372036854776000,
                "minimum": -9223372036854776000,
                "type": "integer"
              },
              {
                "pattern": "^\\s*[+-]?\\d(?:_?\\d)*\\s*$",
                "type": "string"
              }
            ]
          },
          "d24": {
            "description": "Positive file limit for upload questions. Use null for other types.",
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "d25": {
            "description": "Positive character limit for text_input. Use null for other types.",
            "minimum": 1,
            "type": [
              "integer",
              "null"
            ]
          },
          "d3": {
            "oneOf": [
              {
                "$ref": "#/$defs/d18"
              },
              {
                "$ref": "#/$defs/d14"
              },
              {
                "$ref": "#/$defs/d12"
              },
              {
                "$ref": "#/$defs/d15"
              }
            ]
          },
          "d4": {
            "oneOf": [
              {
                "$ref": "#/$defs/d11"
              },
              {
                "$ref": "#/$defs/d9"
              }
            ]
          },
          "d5": {
            "description": "Use readiness_state_id from reference_lookup kind=readiness_definition for the listing's shop; write it as etsy_readiness_state_id, never the local reference_id (UUID). An integer or numeric string is accepted. null clears the Workspace selection; legacy blank strings also clear it, but prefer null. publication still enforces Etsy applicability and required references.",
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "pattern": "^\\s*(?:[+-]?\\d(?:_?\\d)*)?\\s*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "d6": {
            "description": "Use shipping_profile_id from reference_lookup kind=shipping_profile for the listing's shop; write it as shipping_profile_id, never the local reference_id (UUID). An integer or numeric string is accepted. null clears the Workspace selection; legacy blank strings also clear it, but prefer null. publication still enforces Etsy applicability and required references.",
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "pattern": "^\\s*(?:[+-]?\\d(?:_?\\d)*)?\\s*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "d7": {
            "description": "Use return_policy_id from reference_lookup kind=return_policy for the listing's shop; write it as return_policy_id, never the local reference_id (UUID). An integer or numeric string is accepted. null clears the Workspace selection; legacy blank strings also clear it, but prefer null. publication still enforces Etsy applicability and required references.",
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "pattern": "^\\s*(?:[+-]?\\d(?:_?\\d)*)?\\s*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "d8": {
            "description": "Use shop_section_id from reference_lookup kind=shop_section for the listing's shop; write it as shop_section_id, never the local reference_id (UUID). An integer or numeric string is accepted. null clears the Workspace selection; legacy blank strings also clear it, but prefer null. publication still enforces Etsy applicability and required references.",
            "oneOf": [
              {
                "type": "integer"
              },
              {
                "pattern": "^\\s*(?:[+-]?\\d(?:_?\\d)*)?\\s*$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "d9": {
            "items": {
              "$ref": "#/$defs/d11"
            },
            "type": "array"
          }
        },
        "properties": {
          "apply_safe_proposals": {
            "default": false,
            "description": "Confirm a self-authorizable field-change proposal in this call; requires the operation_authorize grant for a name-scoped connection. Seller-only proposals remain proposed. Returns the current operation status, not a claim of completed execution. Omit or false to propose only.",
            "type": "boolean"
          },
          "based_on_read": {
            "description": "A read_id a recent listings_find or listing_read call returned; required for a replace_text in the description and for assign. A listing changed since that read is refused so you re-read before overwriting.",
            "type": "string"
          },
          "changes": {
            "description": "One or more {field, apply} entries, each field at most once. Send fields from different groups in separate calls when a proposal is needed. Direct single-listing edits may combine groups.",
            "items": {
              "additionalProperties": false,
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "$ref": "#/$defs/d3"
                    },
                    "field": {
                      "enum": [
                        "attribute_edit",
                        "is_supply",
                        "is_taxable",
                        "item_dimensions_unit",
                        "item_height",
                        "item_length",
                        "item_weight",
                        "item_weight_unit",
                        "item_width",
                        "labels",
                        "notes",
                        "photos",
                        "production_partner_ids",
                        "quantity",
                        "should_auto_renew",
                        "taxonomy_id",
                        "when_made",
                        "who_made",
                        "working_name"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d16"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d16"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "type",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "New title (full replace).",
                              "maxLength": 140,
                              "type": "string"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "description": "New title (full replace).",
                                "maxLength": 140,
                                "type": "string"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "title",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "New description (full replace).",
                              "maxLength": 102400,
                              "type": "string"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "description": "New description (full replace).",
                                "maxLength": 102400,
                                "type": "string"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "description",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "New tag list (full replace).",
                              "items": {
                                "maxLength": 20,
                                "type": "string"
                              },
                              "maxItems": 13,
                              "type": "array"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "description": "New tag list (full replace).",
                                "items": {
                                  "maxLength": 20,
                                  "type": "string"
                                },
                                "maxItems": 13,
                                "type": "array"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "tags",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "The new value for the field.",
                              "items": {
                                "maxLength": 45,
                                "type": "string"
                              },
                              "maxItems": 20,
                              "type": "array"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "items": {
                                  "maxLength": 45,
                                  "type": "string"
                                },
                                "maxItems": 20,
                                "type": "array"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "materials",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "The new value for the field.",
                              "items": {
                                "maxLength": 45,
                                "type": "string"
                              },
                              "maxItems": 2,
                              "type": "array"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "items": {
                                  "maxLength": 45,
                                  "type": "string"
                                },
                                "maxItems": 2,
                                "type": "array"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "styles",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "The new value for the field.",
                              "maxLength": 32,
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "maxLength": 32,
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "sku",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "description": "The new value for the field.",
                              "properties": {
                                "personalization_questions": {
                                  "$ref": "#/$defs/d0"
                                }
                              },
                              "required": [
                                "personalization_questions"
                              ],
                              "type": [
                                "object",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "properties": {
                                  "personalization_questions": {
                                    "$ref": "#/$defs/d0"
                                  }
                                },
                                "required": [
                                  "personalization_questions"
                                ],
                                "type": [
                                  "object",
                                  "null"
                                ]
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "personalization",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d10"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d10"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "price",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d1"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d1"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "attributes",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d6"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d6"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "shipping_profile_id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d7"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d7"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "return_policy_id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d8"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d8"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "shop_section_id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                },
                {
                  "additionalProperties": false,
                  "properties": {
                    "apply": {
                      "oneOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "set",
                              "type": "string"
                            },
                            "value": {
                              "$ref": "#/$defs/d5"
                            }
                          },
                          "required": [
                            "mode",
                            "value"
                          ],
                          "type": "object"
                        },
                        {
                          "$ref": "#/$defs/d14"
                        },
                        {
                          "$ref": "#/$defs/d12"
                        },
                        {
                          "additionalProperties": false,
                          "properties": {
                            "mode": {
                              "const": "assign",
                              "type": "string"
                            },
                            "values": {
                              "additionalProperties": {
                                "$ref": "#/$defs/d5"
                              },
                              "description": "One literal value per listing id being changed.",
                              "type": "object"
                            }
                          },
                          "required": [
                            "mode",
                            "values"
                          ],
                          "type": "object"
                        }
                      ]
                    },
                    "field": {
                      "const": "etsy_readiness_state_id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "apply"
                  ],
                  "type": "object"
                }
              ],
              "properties": {
                "apply": {
                  "$ref": "#/$defs/d3"
                },
                "field": {
                  "description": "The field to change. Proposal fields (group; apply modes): attribute_edit (category_attributes; ); description (description; set, transform, assign); etsy_readiness_state_id (fulfillment; set); is_supply (details; set); is_taxable (details; set); item_dimensions_unit (fulfillment; set); item_height (fulfillment; set); item_length (fulfillment; set); item_weight (fulfillment; set); item_weight_unit (fulfillment; set); item_width (fulfillment; set); materials (details; set); personalization (personalization; set); photos (photos; ); price (commerce; set, transform, assign); production_partner_ids (details; set); quantity (commerce; set, assign); return_policy_id (fulfillment; set); shipping_profile_id (fulfillment; set); shop_section_id (details; set); should_auto_renew (details; set); sku (commerce; set, assign); styles (details; set); tags (tags; set, merge, transform, assign); taxonomy_id (category_attributes; set); title (title; set, transform, assign); type (details; set); when_made (details; set); who_made (details; set). Direct-only fields (set): attributes, notes, working_name change one listing at a time; every other field changes one listing or many. labels: merge append [label ids] attaches, transform remove_values [label ids] detaches; across several listings it applies at once, no operation_authorize needed. personalization takes {personalization_questions: [...]} as listing_read returns it, or null. price takes {amount, currency_code}, for example {\"amount\": \"149.00\", \"currency_code\": \"USD\"}, or null to clear. attributes takes property-id or name keyed values: a string, {value, property_value_id?, scale_id?}, or an array of those entries. Find catalog value and scale ids with reference_lookup; never join multiple values with commas. taxonomy_id is the category.",
                  "enum": [
                    "attribute_edit",
                    "attributes",
                    "description",
                    "etsy_readiness_state_id",
                    "is_supply",
                    "is_taxable",
                    "item_dimensions_unit",
                    "item_height",
                    "item_length",
                    "item_weight",
                    "item_weight_unit",
                    "item_width",
                    "labels",
                    "materials",
                    "notes",
                    "personalization",
                    "photos",
                    "price",
                    "production_partner_ids",
                    "quantity",
                    "return_policy_id",
                    "shipping_profile_id",
                    "shop_section_id",
                    "should_auto_renew",
                    "sku",
                    "styles",
                    "tags",
                    "taxonomy_id",
                    "title",
                    "type",
                    "when_made",
                    "who_made",
                    "working_name"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "field",
                "apply"
              ],
              "type": "object"
            },
            "minItems": 1,
            "type": "array"
          },
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "listing_id": {
            "description": "UUID of the listing; omit to use the listing bound to this turn.",
            "type": "string"
          },
          "listing_ids": {
            "description": "Explicit listing ids to change, at most 500; never together with listing_id or query.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "query": {
            "additionalProperties": false,
            "description": "A ListingQuery v1 object: typed predicates combine with AND. Provide any subset.",
            "properties": {
              "category_any": {
                "description": "Match listings whose category is exactly one of these taxonomy ids.",
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "category_missing": {
                "const": true,
                "description": "Match listings with no category set.",
                "type": "boolean"
              },
              "category_under": {
                "description": "Match listings whose category is this taxonomy id or nested under it.",
                "type": "integer"
              },
              "changes_vs_etsy_any": {
                "description": "Match listings by how they compare to Etsy: up_to_date, unpublished_changes, changed_on_etsy, conflict, unknown, or not_on_etsy.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "created_after": {
                "description": "Match listings created after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "created_before": {
                "description": "Match listings created before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "description_contains": {
                "description": "Match listings whose description contains this text.",
                "type": "string"
              },
              "edited_after": {
                "description": "Match listings the seller or an agent last edited after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "edited_before": {
                "description": "Match listings the seller or an agent last edited before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "expires_before": {
                "description": "Match listings whose Etsy listing expires before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "expires_within_days": {
                "description": "Match listings whose Etsy listing expires within this many days.",
                "type": "number"
              },
              "favorites_max": {
                "description": "Match listings with at most this many favorites.",
                "type": "number"
              },
              "favorites_min": {
                "description": "Match listings with at least this many favorites.",
                "type": "number"
              },
              "has_personalization": {
                "description": "Match listings that do (true) or do not (false) accept buyer personalization.",
                "type": "boolean"
              },
              "has_video": {
                "description": "Match listings that do (true) or do not (false) have a video.",
                "type": "boolean"
              },
              "label_all": {
                "description": "Match listings carrying every one of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "label_any": {
                "description": "Match listings carrying any of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "label_missing": {
                "const": true,
                "description": "Match listings with no label.",
                "type": "boolean"
              },
              "label_none": {
                "description": "Match listings carrying none of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "materials_any": {
                "description": "Match listings that use any of these materials.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "never_published": {
                "const": true,
                "description": "Match listings that have never been published.",
                "type": "boolean"
              },
              "photos_count_max": {
                "description": "Match listings with at most this many photos.",
                "type": "number"
              },
              "photos_count_min": {
                "description": "Match listings with at least this many photos.",
                "type": "number"
              },
              "presence_any": {
                "description": "Match listings by whether they are on Etsy: on_etsy, not_on_etsy, or missing_from_etsy.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "price_max": {
                "description": "Match listings priced at most this amount.",
                "type": "number"
              },
              "price_min": {
                "description": "Match listings priced at least this amount.",
                "type": "number"
              },
              "price_missing": {
                "const": true,
                "description": "Match listings with no price set.",
                "type": "boolean"
              },
              "published_after": {
                "description": "Match listings last published after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "published_before": {
                "description": "Match listings last published before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "quantity_max": {
                "description": "Match listings with at most this quantity in stock.",
                "type": "number"
              },
              "quantity_min": {
                "description": "Match listings with at least this quantity in stock.",
                "type": "number"
              },
              "quantity_missing": {
                "const": true,
                "description": "Match listings with no quantity set.",
                "type": "boolean"
              },
              "return_policy_any": {
                "description": "Match numeric Etsy return policy IDs from reference_lookup(kind=return_policy).",
                "items": {
                  "$ref": "#/$defs/d23"
                },
                "type": "array"
              },
              "return_policy_missing": {
                "const": true,
                "description": "Match listings with no return policy.",
                "type": "boolean"
              },
              "shipping_profile_any": {
                "description": "Match numeric Etsy shipping profile IDs from reference_lookup(kind=shipping_profile).",
                "items": {
                  "$ref": "#/$defs/d23"
                },
                "type": "array"
              },
              "shipping_profile_missing": {
                "const": true,
                "description": "Match listings with no shipping profile.",
                "type": "boolean"
              },
              "shop_section_any": {
                "description": "Match numeric Etsy shop section IDs from reference_lookup(kind=shop_section), not section titles. Include no_section for unfiled listings.",
                "items": {
                  "anyOf": [
                    {
                      "maximum": 9223372036854776000,
                      "minimum": -9223372036854776000,
                      "type": "integer"
                    },
                    {
                      "pattern": "^\\s*[+-]?\\d(?:_?\\d)*\\s*$",
                      "type": "string"
                    },
                    {
                      "const": "no_section",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              "shop_section_missing": {
                "const": true,
                "description": "Match listings with no shop section.",
                "type": "boolean"
              },
              "sku_contains": {
                "description": "Match listings whose SKU contains this text.",
                "type": "string"
              },
              "status_any": {
                "description": "Match listings whose status is one of these: active, draft, inactive, sold_out, expired.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "stock_any": {
                "description": "Match listings by stock level: zero, low, or variation_out — some variations at zero while others still sell.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "tags_any": {
                "description": "Match listings that carry any of these tags.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "tags_count_max": {
                "description": "Match listings with at most this many tags.",
                "type": "number"
              },
              "tags_count_min": {
                "description": "Match listings with at least this many tags.",
                "type": "number"
              },
              "tags_none": {
                "description": "Match listings that carry none of these tags.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "title_contains": {
                "description": "Match listings whose title contains this text.",
                "type": "string"
              },
              "variations_count_max": {
                "description": "Match listings with at most this many variations.",
                "type": "number"
              },
              "variations_count_min": {
                "description": "Match listings with at least this many variations.",
                "type": "number"
              },
              "version": {
                "const": 1,
                "description": "Schema version; always 1.",
                "type": "integer"
              },
              "views_max": {
                "description": "Match listings with at most this many views.",
                "type": "number"
              },
              "views_min": {
                "description": "Match listings with at least this many views.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "shop_id": {
            "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
            "type": "string"
          }
        },
        "required": [
          "client_request_id",
          "changes"
        ],
        "type": "object"
      },
      "output_schema": {
        "oneOf": [
          {
            "properties": {
              "action_result": {
                "properties": {
                  "change_report": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "disposition": {
                    "enum": [
                      "committed",
                      "no_effect"
                    ],
                    "type": "string"
                  },
                  "schema_version": {
                    "const": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "schema_version",
                  "disposition",
                  "change_report"
                ],
                "type": "object"
              },
              "applied": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "change_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "completed_at": {
                "format": "date-time",
                "type": "string"
              },
              "field_change_ids": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "field_changes": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "after": {},
                    "before": {},
                    "display": {
                      "additionalProperties": false,
                      "properties": {
                        "after": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "before": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "before",
                        "after"
                      ],
                      "type": "object"
                    },
                    "field": {
                      "type": "string"
                    },
                    "values_omitted": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "field",
                    "before",
                    "after",
                    "display"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "listing": {
                "additionalProperties": false,
                "properties": {
                  "changes_vs_etsy": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "price_max": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency_code": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "price_min": {
                    "additionalProperties": false,
                    "properties": {
                      "amount": {
                        "type": "string"
                      },
                      "currency_code": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "price_varies": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "string"
                  },
                  "thumbnail": {
                    "additionalProperties": false,
                    "properties": {
                      "expires_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "url": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "url",
                      "expires_at"
                    ],
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "title": {
                    "type": "string"
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "listing_id": {
                "type": "string"
              },
              "next_read_id": {
                "type": "string"
              },
              "recovery": {
                "additionalProperties": false,
                "properties": {
                  "kind": {
                    "enum": [
                      "ref",
                      "inverse",
                      "none"
                    ],
                    "type": "string"
                  },
                  "recovered_by": {
                    "type": "string"
                  },
                  "ref": {
                    "description": "Pass to change_revert to undo this change.",
                    "type": "string"
                  }
                },
                "required": [
                  "kind"
                ],
                "type": "object"
              },
              "recovery_ref": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "skipped": {
                "items": {
                  "properties": {
                    "field": {
                      "type": "string"
                    },
                    "media_id": {
                      "type": "string"
                    },
                    "skipped_reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "field",
                    "skipped_reason"
                  ],
                  "type": "object"
                },
                "type": "array"
              }
            },
            "required": [
              "listing_id",
              "field_change_ids",
              "action_result",
              "recovery",
              "recovery_ref"
            ],
            "type": "object"
          },
          {
            "properties": {
              "handle_id": {
                "type": "string"
              },
              "review_required": {
                "type": "boolean"
              },
              "status": {
                "type": "string"
              },
              "summary": {
                "type": "object"
              }
            },
            "required": [
              "handle_id",
              "status"
            ],
            "type": "object"
          }
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One write receipt, or one operation handle whose summary carries counts, a blocker histogram, and at most 10 sample rows.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "listing_id": "00000000-0000-0000-0000-000000000001",
        "changes": [
          {
            "field": "title",
            "apply": {
              "mode": "set",
              "value": "Café mug"
            }
          }
        ]
      },
      "example_result": {
        "result": {
          "listing_id": "00000000-0000-0000-0000-000000000001",
          "field_change_ids": [
            "00000000-0000-0000-0000-000000000001"
          ],
          "action_result": {
            "schema_version": 1,
            "disposition": "committed",
            "change_report": null
          },
          "recovery": {
            "kind": "ref",
            "ref": "journal:00000000-0000-0000-0000-000000000001"
          },
          "recovery_ref": "journal:00000000-0000-0000-0000-000000000001"
        }
      }
    },
    {
      "name": "listings_find",
      "title": "Listings find",
      "group": "listings",
      "summary": "Discover and size a set of listings by a ListingQuery, or read named fields for explicit listing_ids.",
      "description": "Discover and size a set of listings by a ListingQuery, or read named fields for explicit listing_ids. Prefer this batch read for titles, tags, descriptions or materials across several listings instead of one listing_read per listing. Follow next_offset sequentially with unchanged targets and fields. Returns bounded rows and a read_id a later set-write can bind to. Rows paginate to fit the budget; use next_offset. External MCP display_rows add presentation fields without expanding requested rows or read coverage. When the host displays the widget, avoid duplicating its photos and returned statistics as a Markdown table unless requested. For one listing card, use listing_ids=[id]. Selection supplies context for the next seller request, not write authority. Never both query and listing_ids. Without shop_id the read spans every connected shop of the team; rows of a read spanning shops carry shop_id and shop_name. Read-only; org-scoped.",
      "scopes": [
        "listings:read",
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/listings_find/",
      "markdown": "https://tusella.com/docs/mcp/tools/listings_find.md",
      "input_schema": {
        "$defs": {
          "d0": {
            "anyOf": [
              {
                "maximum": 9223372036854776000,
                "minimum": -9223372036854776000,
                "type": "integer"
              },
              {
                "pattern": "^\\s*[+-]?\\d(?:_?\\d)*\\s*$",
                "type": "string"
              }
            ]
          }
        },
        "properties": {
          "count": {
            "description": "Return the total match count.",
            "type": "boolean"
          },
          "fields": {
            "description": "Field names to return per row; default card fields: title, status, changes_vs_etsy, shop_id, shop_name, thumbnail, price, price_min, price_max, price_varies, variations_summary. For prices, price is the single shared value and is null when prices vary; request price_min, price_max, and price_varies for the complete range. description/tags/materials are large per-row payloads: when fields includes any of them, pages are capped at 25 rows.",
            "items": {
              "enum": [
                "changes_vs_etsy",
                "created_at",
                "description",
                "edited_at",
                "etsy_listing_id",
                "expires_at",
                "favorites",
                "has_personalization",
                "has_video",
                "labels",
                "listing_type",
                "materials",
                "materials_count",
                "photos_count",
                "presence",
                "price",
                "price_max",
                "price_min",
                "price_mode",
                "price_varies",
                "published_at",
                "quantity",
                "return_policy_id",
                "shipping_profile_id",
                "shop_id",
                "shop_name",
                "shop_section_id",
                "sku",
                "status",
                "tags",
                "tags_count",
                "taxonomy_id",
                "thumbnail",
                "title",
                "variations_count",
                "variations_summary",
                "views",
                "working_name"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "limit": {
            "description": "Max rows to return (1-100, default 50).",
            "type": "integer"
          },
          "listing_ids": {
            "description": "Explicit listing ids, at most 500.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "offset": {
            "description": "Page offset, default 0.",
            "type": "integer"
          },
          "query": {
            "additionalProperties": false,
            "description": "A ListingQuery v1 object: typed predicates combine with AND. Provide any subset.",
            "properties": {
              "category_any": {
                "description": "Match listings whose category is exactly one of these taxonomy ids.",
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "category_missing": {
                "const": true,
                "description": "Match listings with no category set.",
                "type": "boolean"
              },
              "category_under": {
                "description": "Match listings whose category is this taxonomy id or nested under it.",
                "type": "integer"
              },
              "changes_vs_etsy_any": {
                "description": "Match listings by how they compare to Etsy: up_to_date, unpublished_changes, changed_on_etsy, conflict, unknown, or not_on_etsy.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "created_after": {
                "description": "Match listings created after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "created_before": {
                "description": "Match listings created before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "description_contains": {
                "description": "Match listings whose description contains this text.",
                "type": "string"
              },
              "edited_after": {
                "description": "Match listings the seller or an agent last edited after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "edited_before": {
                "description": "Match listings the seller or an agent last edited before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "expires_before": {
                "description": "Match listings whose Etsy listing expires before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "expires_within_days": {
                "description": "Match listings whose Etsy listing expires within this many days.",
                "type": "number"
              },
              "favorites_max": {
                "description": "Match listings with at most this many favorites.",
                "type": "number"
              },
              "favorites_min": {
                "description": "Match listings with at least this many favorites.",
                "type": "number"
              },
              "has_personalization": {
                "description": "Match listings that do (true) or do not (false) accept buyer personalization.",
                "type": "boolean"
              },
              "has_video": {
                "description": "Match listings that do (true) or do not (false) have a video.",
                "type": "boolean"
              },
              "label_all": {
                "description": "Match listings carrying every one of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "label_any": {
                "description": "Match listings carrying any of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "label_missing": {
                "const": true,
                "description": "Match listings with no label.",
                "type": "boolean"
              },
              "label_none": {
                "description": "Match listings carrying none of these label ids.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "materials_any": {
                "description": "Match listings that use any of these materials.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "never_published": {
                "const": true,
                "description": "Match listings that have never been published.",
                "type": "boolean"
              },
              "photos_count_max": {
                "description": "Match listings with at most this many photos.",
                "type": "number"
              },
              "photos_count_min": {
                "description": "Match listings with at least this many photos.",
                "type": "number"
              },
              "presence_any": {
                "description": "Match listings by whether they are on Etsy: on_etsy, not_on_etsy, or missing_from_etsy.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "price_max": {
                "description": "Match listings priced at most this amount.",
                "type": "number"
              },
              "price_min": {
                "description": "Match listings priced at least this amount.",
                "type": "number"
              },
              "price_missing": {
                "const": true,
                "description": "Match listings with no price set.",
                "type": "boolean"
              },
              "published_after": {
                "description": "Match listings last published after this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "published_before": {
                "description": "Match listings last published before this date-time.",
                "format": "date-time",
                "type": "string"
              },
              "quantity_max": {
                "description": "Match listings with at most this quantity in stock.",
                "type": "number"
              },
              "quantity_min": {
                "description": "Match listings with at least this quantity in stock.",
                "type": "number"
              },
              "quantity_missing": {
                "const": true,
                "description": "Match listings with no quantity set.",
                "type": "boolean"
              },
              "return_policy_any": {
                "description": "Match numeric Etsy return policy IDs from reference_lookup(kind=return_policy).",
                "items": {
                  "$ref": "#/$defs/d0"
                },
                "type": "array"
              },
              "return_policy_missing": {
                "const": true,
                "description": "Match listings with no return policy.",
                "type": "boolean"
              },
              "shipping_profile_any": {
                "description": "Match numeric Etsy shipping profile IDs from reference_lookup(kind=shipping_profile).",
                "items": {
                  "$ref": "#/$defs/d0"
                },
                "type": "array"
              },
              "shipping_profile_missing": {
                "const": true,
                "description": "Match listings with no shipping profile.",
                "type": "boolean"
              },
              "shop_section_any": {
                "description": "Match numeric Etsy shop section IDs from reference_lookup(kind=shop_section), not section titles. Include no_section for unfiled listings.",
                "items": {
                  "anyOf": [
                    {
                      "maximum": 9223372036854776000,
                      "minimum": -9223372036854776000,
                      "type": "integer"
                    },
                    {
                      "pattern": "^\\s*[+-]?\\d(?:_?\\d)*\\s*$",
                      "type": "string"
                    },
                    {
                      "const": "no_section",
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              "shop_section_missing": {
                "const": true,
                "description": "Match listings with no shop section.",
                "type": "boolean"
              },
              "sku_contains": {
                "description": "Match listings whose SKU contains this text.",
                "type": "string"
              },
              "status_any": {
                "description": "Match listings whose status is one of these: active, draft, inactive, sold_out, expired.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "stock_any": {
                "description": "Match listings by stock level: zero, low, or variation_out — some variations at zero while others still sell.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "tags_any": {
                "description": "Match listings that carry any of these tags.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "tags_count_max": {
                "description": "Match listings with at most this many tags.",
                "type": "number"
              },
              "tags_count_min": {
                "description": "Match listings with at least this many tags.",
                "type": "number"
              },
              "tags_none": {
                "description": "Match listings that carry none of these tags.",
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              "title_contains": {
                "description": "Match listings whose title contains this text.",
                "type": "string"
              },
              "variations_count_max": {
                "description": "Match listings with at most this many variations.",
                "type": "number"
              },
              "variations_count_min": {
                "description": "Match listings with at least this many variations.",
                "type": "number"
              },
              "version": {
                "const": 1,
                "description": "Schema version; always 1.",
                "type": "integer"
              },
              "views_max": {
                "description": "Match listings with at most this many views.",
                "type": "number"
              },
              "views_min": {
                "description": "Match listings with at least this many views.",
                "type": "number"
              }
            },
            "type": "object"
          },
          "shop_id": {
            "description": "Optional connected shop UUID; supplying it narrows the result to that shop. External reads that omit it span all of this team's connected shops; when scope.shop_id is null, every row carries shop_id and shop_name. In-app reads retain the selected shop.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "comparison_readiness": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string"
              },
              "unqualified_count": {
                "type": "integer"
              }
            },
            "required": [
              "status",
              "unqualified_count"
            ],
            "type": "object"
          },
          "count": {
            "type": "integer"
          },
          "display_rows": {
            "description": "External MCP display metadata for returned IDs only; adds no read coverage.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "listing_id": {
                  "type": "string"
                },
                "price": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_max": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_min": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_mode": {
                  "enum": [
                    "shared",
                    "differentiated",
                    "unknown"
                  ],
                  "type": "string"
                },
                "price_varies": {
                  "type": "boolean"
                },
                "shop_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shop_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": "string"
                },
                "thumbnail": {
                  "additionalProperties": false,
                  "properties": {
                    "expires_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "expires_at"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "title": {
                  "type": "string"
                }
              },
              "required": [
                "listing_id"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "live": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "next_offset": {
            "type": "integer"
          },
          "provenance": {
            "type": "string"
          },
          "read_id": {
            "type": "string"
          },
          "rows": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "changes_vs_etsy": {
                  "enum": [
                    "up_to_date",
                    "unpublished_changes",
                    "changed_on_etsy",
                    "conflict",
                    "unknown",
                    "not_on_etsy",
                    null
                  ],
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "created_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "edited_at": {
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "etsy_listing_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "expires_at": {
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "favorites": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "has_personalization": {
                  "type": "boolean"
                },
                "has_video": {
                  "type": "boolean"
                },
                "labels": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "label_id": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                },
                "listing_id": {
                  "type": "string"
                },
                "listing_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "materials": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "materials_count": {
                  "type": "integer"
                },
                "photos_count": {
                  "type": "integer"
                },
                "presence": {
                  "enum": [
                    "on_etsy",
                    "not_on_etsy",
                    "missing_from_etsy"
                  ],
                  "type": "string"
                },
                "price": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_max": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_min": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "currency_code": {
                      "type": "string"
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "price_mode": {
                  "enum": [
                    "shared",
                    "differentiated",
                    "unknown"
                  ],
                  "type": "string"
                },
                "price_varies": {
                  "type": "boolean"
                },
                "published_at": {
                  "format": "date-time",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quantity": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "return_policy_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shipping_profile_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shop_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shop_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "shop_section_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "sku": {
                  "type": "string"
                },
                "status": {
                  "type": "string"
                },
                "tags": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "tags_count": {
                  "type": "integer"
                },
                "taxonomy_id": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "thumbnail": {
                  "additionalProperties": false,
                  "properties": {
                    "expires_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "url",
                    "expires_at"
                  ],
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "title": {
                  "type": "string"
                },
                "tusella_url": {
                  "type": "string"
                },
                "variations_count": {
                  "type": "integer"
                },
                "variations_summary": {
                  "additionalProperties": false,
                  "properties": {
                    "axes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "enabled_count": {
                      "type": "integer"
                    },
                    "offerings_count": {
                      "type": "integer"
                    },
                    "price_max": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "type": "string"
                        },
                        "currency_code": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "price_min": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "type": "string"
                        },
                        "currency_code": {
                          "type": "string"
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    }
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "views": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "working_name": {
                  "type": "string"
                }
              },
              "required": [
                "listing_id",
                "tusella_url"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "organization_id": {
                "type": "string"
              },
              "shop_id": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "rows",
          "read_id"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "At most 100 rows per page, any subset of the 37-name field vocabulary, and 500 explicit listing_ids. A page whose complete response would exceed the budget is cut to the longest fitting prefix and next_offset advances by the rows kept; one row that cannot fit is refused rather than truncated; pages automatically cap at 25 rows when fields includes description, tags, or materials; photos_count/variations_count/tags_count/materials_count are summaries — a find requesting them covers no part and mints no part digest",
          "max_bytes": 65536,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "shop_id": "00000000-0000-0000-0000-000000000001",
        "query": {
          "version": 1,
          "status_any": [
            "draft"
          ]
        },
        "fields": [
          "title"
        ],
        "limit": 10
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "live": true
          },
          "provenance": "workspace",
          "rows": [
            {
              "listing_id": "00000000-0000-0000-0000-000000000001",
              "title": "Café mug",
              "presence": "not_on_etsy",
              "tusella_url": "https://tusella.test/listings/00000000-0000-0000-0000-000000000001"
            }
          ],
          "read_id": "00000000-0000-0000-0000-000000000001"
        }
      }
    },
    {
      "name": "operation_authorize",
      "title": "Operation authorize",
      "group": "operations",
      "summary": "Authorize a proposed operation so it proceeds to execution — the normal next step after a proposal returns its handle.",
      "description": "Authorize a proposed operation so it proceeds to execution — the normal next step after a proposal returns its handle. Refuses only where the operation is marked for the seller alone, answering with the Tusella publication link. Repeating it changes nothing. Org-scoped.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/operation_authorize/",
      "markdown": "https://tusella.com/docs/mcp/tools/operation_authorize.md",
      "input_schema": {
        "properties": {
          "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"
        ],
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "authorization": {
            "type": "object"
          },
          "operation_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        },
        "type": "object",
        "x-result-size-budget": {
          "description": "One operation state.",
          "max_bytes": 4096,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "operation_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "operation_id": "00000000-0000-0000-0000-000000000001",
          "status": "authorized",
          "authorization": {
            "authorized_by": "00000000-0000-0000-0000-000000000001",
            "authorized_at": "2026-10-03T00:00:00Z"
          }
        }
      }
    },
    {
      "name": "operation_control",
      "title": "Operation control",
      "group": "operations",
      "summary": "Cancel a proposed or authorized operation, or pause, resume, or cancel queued or executing asynchronous work.",
      "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.",
      "scopes": [
        "listings:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/operation_control/",
      "markdown": "https://tusella.com/docs/mcp/tools/operation_control.md",
      "input_schema": {
        "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": {
        "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"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "operation_id": "00000000-0000-0000-0000-000000000001",
        "action": "pause"
      },
      "example_result": {
        "result": {
          "operation_id": "00000000-0000-0000-0000-000000000001",
          "status": "executing",
          "control_state": "paused"
        }
      }
    },
    {
      "name": "operation_read",
      "title": "Operation read",
      "group": "operations",
      "summary": "Follow an operation a proposal created: what it will do, what it did, where it stands.",
      "description": "Follow an operation a proposal created: what it will do, what it did, where it stands. operation_id is required: pass the handle_id listings_edit returns, or an operation_id from operations_find. detail is summary (default), targets, or preview — never embeds every target in a summary. Read-only; org-scoped.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/operation_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/operation_read.md",
      "input_schema": {
        "properties": {
          "detail": {
            "description": "summary (default), targets, or preview.",
            "enum": [
              "preview",
              "summary",
              "targets"
            ],
            "type": "string"
          },
          "limit": {
            "description": "Max rows per page (1-100).",
            "type": "integer"
          },
          "offset": {
            "description": "Page offset, default 0.",
            "type": "integer"
          },
          "operation_id": {
            "description": "Required. UUID of the operation: the handle_id listings_edit returns, or an operation_id from operations_find.",
            "type": "string"
          },
          "status": {
            "description": "targets: filter by target status.",
            "type": "string"
          }
        },
        "required": [
          "operation_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "description": "Shape depends on detail: summary → the operation header; targets → a page of per-listing target rows; preview → a page of per-listing stored variation consequences, review hints, and blockers. Before/after remain null when complete states were not stored.",
            "oneOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "authorization": {
                    "additionalProperties": false,
                    "properties": {
                      "authorized_at": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "authorized_by": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": "object"
                  },
                  "changes": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "after": {},
                        "display": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "field": {
                          "type": "string"
                        },
                        "mode": {
                          "type": "string"
                        },
                        "values_omitted": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "field",
                        "mode",
                        "after",
                        "display"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "changes_omitted": {
                    "minimum": 0,
                    "type": "integer"
                  },
                  "completed_at": {
                    "format": "date-time",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "control_available": {
                    "type": "boolean"
                  },
                  "control_state": {
                    "enum": [
                      "active",
                      "paused",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  "copy": {
                    "additionalProperties": false,
                    "properties": {
                      "destination_shop_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "outcome_counts": {
                        "additionalProperties": {
                          "type": "integer"
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "created_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "kind": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "operation_id": {
                    "type": "string"
                  },
                  "policy": {
                    "additionalProperties": false,
                    "properties": {
                      "cost_class": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "directive": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "review_hints": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "recovery_ref": {
                    "description": "Pass to change_revert to undo this change.",
                    "type": "string"
                  },
                  "revert_available": {
                    "type": "boolean"
                  },
                  "scope_count": {
                    "type": "integer"
                  },
                  "status": {
                    "enum": [
                      "proposed",
                      "authorized",
                      "queued",
                      "executing",
                      "applied",
                      "partial",
                      "reverted",
                      "failed",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  "target_counts": {
                    "additionalProperties": {
                      "type": "integer"
                    },
                    "type": "object"
                  },
                  "updated_at": {
                    "format": "date-time",
                    "type": "string"
                  }
                },
                "required": [
                  "operation_id"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "next_offset": {
                    "type": "integer"
                  },
                  "targets": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "change_report": {
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "error": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "error_code": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "error_message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "field_changes": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "after": {},
                              "before": {},
                              "display": {
                                "additionalProperties": false,
                                "properties": {
                                  "after": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "before": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "before",
                                  "after"
                                ],
                                "type": "object"
                              },
                              "field": {
                                "type": "string"
                              },
                              "values_omitted": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "field",
                              "before",
                              "after",
                              "display"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "outcome": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "status": {
                          "enum": [
                            "pending",
                            "applied",
                            "partial",
                            "skipped",
                            "failed"
                          ],
                          "type": "string"
                        },
                        "thumbnail": {
                          "additionalProperties": false,
                          "properties": {
                            "expires_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "url",
                            "expires_at"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "targets"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "type": "integer"
                  },
                  "destination_shop_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "limit": {
                    "type": "integer"
                  },
                  "next_offset": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "offset": {
                    "type": "integer"
                  },
                  "operation_id": {
                    "type": "string"
                  },
                  "results": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "completed_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "destination_listing_id": {
                          "type": "string"
                        },
                        "destination_removed_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "error_code": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "latest_operation_id": {
                          "type": "string"
                        },
                        "origin_member_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "outcome": {
                          "type": "string"
                        },
                        "recovery": {
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "recovery_expires_at": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "root_operation_id": {
                          "type": "string"
                        },
                        "source_listing_id": {
                          "type": "string"
                        },
                        "source_removed": {
                          "type": "boolean"
                        },
                        "source_shop_id": {
                          "type": "string"
                        },
                        "source_title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "revert_available": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "operation_id",
                  "revert_available",
                  "count",
                  "results"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "next_offset": {
                    "type": "integer"
                  },
                  "preview": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "after": {},
                        "before": {},
                        "blockers": {
                          "type": "array"
                        },
                        "consequences": {
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "review_hints": {
                          "items": {
                            "type": "string"
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "thumbnail": {
                          "additionalProperties": false,
                          "properties": {
                            "expires_at": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "url",
                            "expires_at"
                          ],
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "title": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "preview"
                ],
                "type": "object"
              }
            ]
          },
          "detail": {
            "enum": [
              "preview",
              "summary",
              "targets"
            ],
            "type": "string"
          },
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "observed_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "type": "object"
          },
          "operation_id": {
            "type": "string"
          },
          "provenance": {
            "type": "string"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "organization_id": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "operation_id",
          "detail",
          "data"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "Summary is at most 8 KiB; at most 100 targets or preview rows per page, cut to the longest fitting prefix and paginated via next_offset",
          "max_bytes": 65536,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "operation_id": "00000000-0000-0000-0000-000000000001",
        "detail": "summary"
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "observed_at": "2026-10-03T00:00:00Z"
          },
          "provenance": "workspace",
          "operation_id": "00000000-0000-0000-0000-000000000001",
          "detail": "summary",
          "data": {
            "operation_id": "00000000-0000-0000-0000-000000000001",
            "status": "applied",
            "scope_count": 1
          }
        }
      }
    },
    {
      "name": "operations_find",
      "title": "Operations find",
      "group": "operations",
      "summary": "Locate operations by conversation, listing, kind, or status — reaching one proposed in an earlier turn with no producer call.",
      "description": "Locate operations by conversation, listing, kind, or status — reaching one proposed in an earlier turn with no producer call. Omitted, conversation narrows a call bound to a durable conversation to that conversation's operations; an MCP call carries none and reads the whole organization. conversation=any always reads the whole organization, including operations with no origin conversation. Every returned operation_id is admitted for operation_read and operation_control in this turn; a returned recovery_ref undoes that operation through change_revert. Read-only; org-scoped.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/operations_find/",
      "markdown": "https://tusella.com/docs/mcp/tools/operations_find.md",
      "input_schema": {
        "properties": {
          "conversation": {
            "description": "any reaches the whole organization, including operations with no origin conversation. Omitted, a call bound to a durable conversation reads only that conversation's operations.",
            "enum": [
              "any"
            ],
            "type": "string"
          },
          "kind": {
            "description": "Filter by operation kind.",
            "type": "string"
          },
          "limit": {
            "description": "Max rows per page (1-100).",
            "type": "integer"
          },
          "listing_id": {
            "description": "Only operations with a target on this listing.",
            "type": "string"
          },
          "offset": {
            "description": "Page offset, default 0.",
            "type": "integer"
          },
          "status": {
            "description": "Filter by operation status.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "live": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "listing_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_offset": {
            "type": "integer"
          },
          "provenance": {
            "type": "string"
          },
          "rows": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "control_available": {
                  "type": "boolean"
                },
                "control_state": {
                  "enum": [
                    "active",
                    "paused",
                    "cancelled"
                  ],
                  "type": "string"
                },
                "created_at": {
                  "format": "date-time",
                  "type": "string"
                },
                "intent_summary": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "operation_id": {
                  "type": "string"
                },
                "origin": {
                  "enum": [
                    "agent",
                    "manual"
                  ],
                  "type": "string"
                },
                "recovery_ref": {
                  "description": "Pass to change_revert to undo this change.",
                  "type": "string"
                },
                "revert_available": {
                  "type": "boolean"
                },
                "scope_count": {
                  "type": "integer"
                },
                "status": {
                  "enum": [
                    "proposed",
                    "authorized",
                    "queued",
                    "executing",
                    "applied",
                    "partial",
                    "reverted",
                    "failed",
                    "cancelled"
                  ],
                  "type": "string"
                },
                "updated_at": {
                  "format": "date-time",
                  "type": "string"
                }
              },
              "required": [
                "operation_id"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "organization_id": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "rows"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "At most 100 rows per page, cut to the longest fitting prefix and paginated via next_offset",
          "max_bytes": 65536,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "listing_id": "00000000-0000-0000-0000-000000000001",
        "limit": 10
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "live": true
          },
          "provenance": "workspace",
          "rows": [
            {
              "operation_id": "00000000-0000-0000-0000-000000000001",
              "status": "applied",
              "control_state": "active",
              "origin": "agent"
            }
          ]
        }
      }
    },
    {
      "name": "pin_control",
      "title": "Pin control",
      "group": "pinterest",
      "summary": "Cancel a not-yet-sending Pin, reschedule, publish now, resume after reconnect, check an uncertain attempt, or explicitly request another eligible attempt.",
      "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.",
      "scopes": [
        "pinterest:publish"
      ],
      "permission": "pinterest.publish",
      "effect": "Acts on Pinterest when the seller asks: the Pin is published, scheduled, rescheduled or cancelled there.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_control/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_control.md",
      "input_schema": {
        "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": {
        "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"
        }
      },
      "example_input": {
        "pin_id": "00000000-0000-0000-0000-000000000001",
        "client_request_id": "cancel",
        "expected_intent_revision": 0,
        "action": "cancel"
      },
      "example_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
        }
      }
    },
    {
      "name": "pin_create",
      "title": "Pin create",
      "group": "pinterest",
      "summary": "Create one real Tusella Pin draft.",
      "description": "Create one real Tusella Pin draft. Drafting never submits. Choose a photo or ordered slides, account, board, text and destination.",
      "scopes": [
        "pinterest:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_create/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_create.md",
      "input_schema": {
        "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": {
        "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"
        }
      },
      "example_input": {
        "client_request_id": "create",
        "media_asset_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_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
        }
      }
    },
    {
      "name": "pin_edit",
      "title": "Pin edit",
      "group": "pinterest",
      "summary": "Edit one draft using its last read revision.",
      "description": "Edit one draft using its last read revision. To undo a draft edit, read current state and edit the prior values. Submitted Pins refuse this draft operation.",
      "scopes": [
        "pinterest:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Undo: the result carries a `recovery_ref` for `pin_revert`.",
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_edit/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_edit.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "alt_text": {
            "description": "Describe the photo for accessibility.",
            "maxLength": 500,
            "type": "string"
          },
          "based_on_selection_revision": {
            "description": "The revision returned by your last Pin read.",
            "minimum": 0,
            "type": "integer"
          },
          "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"
          },
          "expected_draft_revision": {
            "description": "The revision returned by your last Pin read.",
            "minimum": 0,
            "type": "integer"
          },
          "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"
          },
          "pin_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"
          },
          "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": [
          "pin_id",
          "client_request_id",
          "expected_draft_revision"
        ],
        "type": "object"
      },
      "output_schema": {
        "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"
        }
      },
      "example_input": {
        "pin_id": "00000000-0000-0000-0000-000000000001",
        "client_request_id": "edit",
        "expected_draft_revision": 0,
        "title": "Edited"
      },
      "example_result": {
        "result": {
          "pin_id": "00000000-0000-0000-0000-000000000001",
          "draft_revision": 1,
          "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,
          "recovery_ref": "00000000-0000-0000-0000-000000000001"
        }
      }
    },
    {
      "name": "pin_read",
      "title": "Pin read",
      "group": "pinterest",
      "summary": "Read a real Tusella Pin’s current draft, revisions, delivery outcome and remote URL.",
      "description": "Read a real Tusella Pin’s current draft, revisions, delivery outcome and remote URL. Unknown or simulated outcomes are not publication proof.",
      "scopes": [
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_read.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "part": {
            "description": "One bounded part to read; defaults to content.",
            "enum": [
              "content",
              "status",
              "media"
            ],
            "type": "string"
          },
          "pin_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "pin_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "alt_text": {
                "maxLength": 500,
                "type": "string"
              },
              "board_id": {
                "maxLength": 64,
                "type": "string"
              },
              "board_section_id": {
                "maxLength": 64,
                "type": "string"
              },
              "description": {
                "maxLength": 800,
                "type": "string"
              },
              "destination_url": {
                "maxLength": 2048,
                "type": "string"
              },
              "draft_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "intent_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "lifecycle_state": {
                "maxLength": 32,
                "type": "string"
              },
              "link": {
                "maxLength": 2048,
                "type": "string"
              },
              "listing_id": {
                "maxLength": 64,
                "type": [
                  "string",
                  "null"
                ]
              },
              "pin_id": {
                "maxLength": 64,
                "type": "string"
              },
              "pinterest_account_id": {
                "maxLength": 64,
                "type": [
                  "string",
                  "null"
                ]
              },
              "selection_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "shop_id": {
                "maxLength": 64,
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "maxLength": 100,
                "type": "string"
              },
              "tusella_path": {
                "maxLength": 100,
                "type": "string"
              }
            },
            "required": [
              "pin_id",
              "draft_revision",
              "selection_revision",
              "intent_revision",
              "lifecycle_state",
              "tusella_path",
              "listing_id",
              "shop_id",
              "pinterest_account_id",
              "board_id",
              "board_section_id",
              "title",
              "description",
              "alt_text",
              "destination_url",
              "link"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "draft_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "failure_reason": {
                "maxLength": 500,
                "type": "string"
              },
              "fire_exit_reason": {
                "maxLength": 500,
                "type": "string"
              },
              "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"
              },
              "reconciliation_reason": {
                "maxLength": 32,
                "type": "string"
              },
              "requested_for": {
                "maxLength": 64,
                "type": [
                  "string",
                  "null"
                ]
              },
              "selection_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "timezone": {
                "maxLength": 64,
                "type": "string"
              },
              "timing_intent": {
                "maxLength": 16,
                "type": "string"
              },
              "tusella_path": {
                "maxLength": 100,
                "type": "string"
              }
            },
            "required": [
              "pin_id",
              "draft_revision",
              "selection_revision",
              "intent_revision",
              "lifecycle_state",
              "tusella_path",
              "outcome",
              "reason_code",
              "failure_reason",
              "fire_exit_reason",
              "reconciliation_reason",
              "timing_intent",
              "requested_for",
              "timezone",
              "pin_url"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "ai_disclosures": {
                "items": {
                  "maxLength": 64,
                  "type": "string"
                },
                "maxItems": 10,
                "type": "array"
              },
              "draft_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "intent_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "lifecycle_state": {
                "maxLength": 32,
                "type": "string"
              },
              "media_asset_id": {
                "maxLength": 64,
                "type": "string"
              },
              "pin_id": {
                "maxLength": 64,
                "type": "string"
              },
              "selection_revision": {
                "minimum": 0,
                "type": "integer"
              },
              "slides": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "media_asset_id": {
                      "maxLength": 64,
                      "type": "string"
                    },
                    "slide_id": {
                      "maxLength": 64,
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "media_asset_id",
                    "slide_id"
                  ],
                  "type": "object"
                },
                "maxItems": 5,
                "type": "array"
              },
              "tusella_path": {
                "maxLength": 100,
                "type": "string"
              }
            },
            "required": [
              "pin_id",
              "draft_revision",
              "selection_revision",
              "intent_revision",
              "lifecycle_state",
              "tusella_path",
              "media_asset_id",
              "slides",
              "ai_disclosures"
            ],
            "type": "object"
          }
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "pin_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_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",
          "listing_id": null,
          "shop_id": null,
          "pinterest_account_id": null,
          "board_id": "",
          "board_section_id": "",
          "title": "Draft",
          "description": "",
          "alt_text": "",
          "destination_url": "",
          "link": ""
        }
      }
    },
    {
      "name": "pin_revert",
      "title": "Pin revert",
      "group": "pinterest",
      "summary": "Undo the most recent draft edit using its recovery_ref and current draft revision.",
      "description": "Undo the most recent draft edit using its recovery_ref and current draft revision. Refuses when another change or submission has advanced the Pin.",
      "scopes": [
        "pinterest:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_revert/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_revert.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "client_request_id": {
            "description": "Mint once for this deliberate command; reuse the same key and payload on every retry.",
            "maxLength": 128,
            "type": "string"
          },
          "expected_draft_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"
          },
          "recovery_ref": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "pin_id",
          "client_request_id",
          "recovery_ref",
          "expected_draft_revision"
        ],
        "type": "object"
      },
      "output_schema": {
        "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"
        }
      },
      "example_input": {
        "pin_id": "00000000-0000-0000-0000-000000000001",
        "client_request_id": "revert",
        "expected_draft_revision": 1,
        "recovery_ref": "00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "pin_id": "00000000-0000-0000-0000-000000000001",
          "draft_revision": 2,
          "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
        }
      }
    },
    {
      "name": "pin_submit",
      "title": "Pin submit",
      "group": "pinterest",
      "summary": "Publish or schedule ONE Pin explicitly directed by the user.",
      "description": "Publish or schedule ONE Pin explicitly directed by the user. First obtain their specific Pin, account, board and timing instruction; do not submit a drafting-only request. Uses the separate Pinterest publication grant. Cancel only before sending; published Pins have no ordinary undo. A queued result is not proof of publication.",
      "scopes": [
        "pinterest:publish"
      ],
      "permission": "pinterest.publish",
      "effect": "Acts on Pinterest when the seller asks: the Pin is published, scheduled, rescheduled or cancelled there.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": true,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pin_submit/",
      "markdown": "https://tusella.com/docs/mcp/tools/pin_submit.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "client_request_id": {
            "description": "Mint once for this deliberate command; reuse the same key and payload on every retry.",
            "maxLength": 128,
            "type": "string"
          },
          "expected_draft_revision": {
            "description": "The revision returned by your last Pin read.",
            "minimum": 0,
            "type": "integer"
          },
          "intent": {
            "description": "The user-chosen publication timing.",
            "enum": [
              "now",
              "scheduled"
            ],
            "type": "string"
          },
          "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",
          "expected_draft_revision",
          "intent"
        ],
        "type": "object"
      },
      "output_schema": {
        "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"
        }
      },
      "example_input": {
        "pin_id": "00000000-0000-0000-0000-000000000001",
        "client_request_id": "submit",
        "expected_draft_revision": 0,
        "intent": "now"
      },
      "example_result": {
        "result": {
          "pin_id": "00000000-0000-0000-0000-000000000001",
          "draft_revision": 0,
          "selection_revision": 0,
          "intent_revision": 0,
          "lifecycle_state": "pending",
          "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
        }
      }
    },
    {
      "name": "pins_find",
      "title": "Pins find",
      "group": "pinterest",
      "summary": "Find Tusella Pins by shop, listing, Pinterest account or lifecycle, with bounded continuation.",
      "description": "Find Tusella Pins by shop, listing, Pinterest account or lifecycle, with bounded continuation.",
      "scopes": [
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pins_find/",
      "markdown": "https://tusella.com/docs/mcp/tools/pins_find.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Use next_cursor from the previous page. Omit for the first page.",
            "maxLength": 2048,
            "type": "string"
          },
          "lifecycle_state": {
            "description": "Pin lifecycle state returned by pin_read.",
            "maxLength": 32,
            "type": "string"
          },
          "listing_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "pinterest_account_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "shop_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "board_id": {
                  "maxLength": 64,
                  "type": "string"
                },
                "lifecycle_state": {
                  "maxLength": 32,
                  "type": "string"
                },
                "outcome": {
                  "maxLength": 16,
                  "type": "string"
                },
                "pin_id": {
                  "maxLength": 64,
                  "type": "string"
                },
                "requested_for": {
                  "maxLength": 64,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "maxLength": 100,
                  "type": "string"
                }
              },
              "required": [
                "pin_id",
                "title",
                "lifecycle_state",
                "outcome",
                "board_id",
                "requested_for"
              ],
              "type": "object"
            },
            "maxItems": 12,
            "type": "array"
          },
          "next_cursor": {
            "maxLength": 2048,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "next_cursor",
          "complete"
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "row-pagination"
        }
      },
      "example_input": {},
      "example_result": {
        "result": {
          "items": [],
          "next_cursor": null,
          "complete": true
        }
      }
    },
    {
      "name": "pinterest_media_find",
      "title": "Pinterest media find",
      "group": "pinterest",
      "summary": "Find one shop's photos or an attached listing’s photos, with Pinterest eligibility and reasons.",
      "description": "Find one shop's photos or an attached listing’s photos, with Pinterest eligibility and reasons. Without listing_id the photos are the shop's; with several shops name the shop_id. Use media ids to prepare a Pin.",
      "scopes": [
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pinterest_media_find/",
      "markdown": "https://tusella.com/docs/mcp/tools/pinterest_media_find.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "description": "Use next_cursor from the previous page. Omit for the first page.",
            "maxLength": 2048,
            "type": "string"
          },
          "listing_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "shop_id": {
            "description": "The shop whose photos to list when no listing is given. Omit it when the team has one shop.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "complete": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "alt_text": {
                  "maxLength": 120,
                  "type": "string"
                },
                "alt_text_truncated": {
                  "type": "boolean"
                },
                "eligible": {
                  "type": "boolean"
                },
                "height": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "media_asset_id": {
                  "maxLength": 64,
                  "type": "string"
                },
                "reason_code": {
                  "maxLength": 64,
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "width": {
                  "type": [
                    "integer",
                    "null"
                  ]
                }
              },
              "required": [
                "media_asset_id",
                "width",
                "height",
                "alt_text",
                "alt_text_truncated",
                "eligible",
                "reason_code"
              ],
              "type": "object"
            },
            "maxItems": 8,
            "type": "array"
          },
          "next_cursor": {
            "maxLength": 2048,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "items",
          "next_cursor",
          "complete"
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "row-pagination"
        }
      },
      "example_input": {},
      "example_result": {
        "result": {
          "items": [
            {
              "media_asset_id": "00000000-0000-0000-0000-000000000001",
              "width": 928,
              "height": 928,
              "alt_text": "Wood",
              "alt_text_truncated": false,
              "eligible": true,
              "reason_code": null
            }
          ],
          "next_cursor": null,
          "complete": true
        }
      }
    },
    {
      "name": "pinterest_media_import",
      "title": "Pinterest media import",
      "group": "pinterest",
      "summary": "Import one chat photo into one shop's photo library.",
      "description": "Import one chat photo into one shop's photo library. Returns a ready media_asset_id for single or carousel Pin drafts. No listing is required and importing never submits a Pin. With several shops, name the shop_id the photo belongs to. Retry the same photo with the same client_request_id and shop. Reuse file_id when possible; fresh upload IDs are replayed only after validating identical original bytes.",
      "scopes": [
        "pinterest:write"
      ],
      "permission": "listing.edit",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pinterest_media_import/",
      "markdown": "https://tusella.com/docs/mcp/tools/pinterest_media_import.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "client_request_id": {
            "description": "Mint once for this deliberate command; reuse the same key and payload on every retry.",
            "maxLength": 128,
            "type": "string"
          },
          "file": {
            "additionalProperties": false,
            "description": "Chat photo file (JPEG, PNG or WebP). The client uploads the local file; Tusella downloads and validates its bytes.",
            "properties": {
              "download_url": {
                "description": "Temporary public HTTPS download URL supplied by the client; refresh if expired.",
                "maxLength": 16384,
                "minLength": 1,
                "type": "string"
              },
              "file_id": {
                "description": "Client file identifier. Reuse it when possible; a fresh upload identifier requires identical validated bytes on replay.",
                "maxLength": 255,
                "minLength": 1,
                "type": "string"
              },
              "file_name": {
                "description": "Optional advisory name, not retained by Tusella.",
                "maxLength": 1024,
                "type": "string"
              },
              "mime_type": {
                "description": "Optional advisory MIME type; the downloaded bytes determine the actual type.",
                "maxLength": 255,
                "type": "string"
              }
            },
            "required": [
              "download_url",
              "file_id"
            ],
            "type": "object"
          },
          "shop_id": {
            "description": "The shop the photo is filed under. Omit it when the team has one shop.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "file",
          "client_request_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "command_id": {
            "maxLength": 64,
            "type": "string"
          },
          "height": {
            "minimum": 1,
            "type": "integer"
          },
          "media_asset_id": {
            "maxLength": 64,
            "type": "string"
          },
          "mime_type": {
            "enum": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ],
            "type": "string"
          },
          "status": {
            "const": "ready"
          },
          "width": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "media_asset_id",
          "command_id",
          "status",
          "width",
          "height",
          "mime_type"
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "import-photo",
        "file": {
          "file_id": "chat-photo",
          "download_url": "https://files.test/photo.png"
        }
      },
      "example_result": {
        "result": {
          "media_asset_id": "00000000-0000-0000-0000-000000000001",
          "command_id": "00000000-0000-0000-0000-000000000001",
          "status": "ready",
          "width": 928,
          "height": 928,
          "mime_type": "image/png"
        }
      }
    },
    {
      "name": "pinterest_media_preview",
      "title": "Pinterest media preview",
      "group": "pinterest",
      "summary": "Preview one team photo as an inline image.",
      "description": "Preview one team photo as an inline image. Preview is optional before user-directed Pinterest submission.",
      "scopes": [
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pinterest_media_preview/",
      "markdown": "https://tusella.com/docs/mcp/tools/pinterest_media_preview.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "media_asset_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "media_asset_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "media_asset_id": {
            "maxLength": 64,
            "type": "string"
          },
          "mime_type": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "media_asset_id",
          "mime_type"
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "media_asset_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "media_asset_id": "00000000-0000-0000-0000-000000000001",
          "mime_type": "image/png"
        }
      }
    },
    {
      "name": "pinterest_reference_lookup",
      "title": "Pinterest reference lookup",
      "group": "pinterest",
      "summary": "Find accessible shops, Pinterest accounts, public boards or board sections.",
      "description": "Find accessible shops, Pinterest accounts, public boards or board sections. Each board page is live and account-specific.",
      "scopes": [
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/pinterest_reference_lookup/",
      "markdown": "https://tusella.com/docs/mcp/tools/pinterest_reference_lookup.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "board_id": {
            "description": "The id returned by a Tusella read.",
            "maxLength": 64,
            "type": "string"
          },
          "cursor": {
            "description": "Use next_cursor from the previous page. Omit for the first page.",
            "maxLength": 2048,
            "type": "string"
          },
          "kind": {
            "description": "Reference family to read.",
            "enum": [
              "shops",
              "accounts",
              "boards",
              "sections"
            ],
            "type": "string"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "output_schema": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "complete": {
                "type": "boolean"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "maxLength": 255,
                      "type": "string"
                    },
                    "parked": {
                      "type": "boolean"
                    },
                    "shop_id": {
                      "maxLength": 64,
                      "type": "string"
                    }
                  },
                  "required": [
                    "shop_id",
                    "name",
                    "parked"
                  ],
                  "type": "object"
                },
                "maxItems": 4,
                "type": "array"
              },
              "kind": {
                "const": "shops"
              },
              "next_cursor": {
                "maxLength": 2048,
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "next_cursor",
              "complete",
              "kind"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "complete": {
                "type": "boolean"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "connected": {
                      "type": "boolean"
                    },
                    "environment": {
                      "maxLength": 32,
                      "type": "string"
                    },
                    "id": {
                      "maxLength": 64,
                      "type": "string"
                    },
                    "label": {
                      "maxLength": 80,
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "connected",
                    "environment"
                  ],
                  "type": "object"
                },
                "maxItems": 12,
                "type": "array"
              },
              "kind": {
                "const": "accounts"
              },
              "next_cursor": {
                "maxLength": 2048,
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "next_cursor",
              "complete",
              "kind"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "account_id": {
                "maxLength": 64,
                "type": "string"
              },
              "board_id": {
                "type": "null"
              },
              "complete": {
                "type": "boolean"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 64,
                      "type": "string"
                    },
                    "is_sandbox": {
                      "type": "boolean"
                    },
                    "name": {
                      "maxLength": 120,
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "is_sandbox"
                  ],
                  "type": "object"
                },
                "maxItems": 20,
                "type": "array"
              },
              "kind": {
                "const": "boards"
              },
              "next_cursor": {
                "maxLength": 2048,
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "next_cursor",
              "complete",
              "account_id",
              "board_id",
              "kind"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "account_id": {
                "maxLength": 64,
                "type": "string"
              },
              "board_id": {
                "maxLength": 64,
                "type": "string"
              },
              "complete": {
                "type": "boolean"
              },
              "items": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 64,
                      "type": "string"
                    },
                    "name": {
                      "maxLength": 120,
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "type": "object"
                },
                "maxItems": 20,
                "type": "array"
              },
              "kind": {
                "const": "sections"
              },
              "next_cursor": {
                "maxLength": 2048,
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "items",
              "next_cursor",
              "complete",
              "account_id",
              "board_id",
              "kind"
            ],
            "type": "object"
          }
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 19000,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "kind": "shops"
      },
      "example_result": {
        "result": {
          "items": [],
          "next_cursor": null,
          "complete": true,
          "kind": "shops"
        }
      }
    },
    {
      "name": "publish_review_comment",
      "title": "Publish review comment",
      "group": "publish-review",
      "summary": "Leave a comment on a kept publication for the seller: why this set, what to check before publishing.",
      "description": "Leave a comment on a kept publication for the seller: why this set, what to check before publishing. Appends to the publication's thread; never publishes, schedules, or changes the publication's listings. The publication must already be kept (publish_review_create returns one).",
      "scopes": [
        "listings:write"
      ],
      "permission": "publish.review",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/publish_review_comment/",
      "markdown": "https://tusella.com/docs/mcp/tools/publish_review_comment.md",
      "input_schema": {
        "properties": {
          "body": {
            "description": "The comment, in the seller's language (up to 2000 characters).",
            "type": "string"
          },
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "publish_review_id": {
            "description": "The kept publication to comment on.",
            "type": "string"
          }
        },
        "required": [
          "client_request_id",
          "publish_review_id",
          "body"
        ],
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "canonical_path": {
            "type": "string"
          },
          "comment": {
            "additionalProperties": false,
            "properties": {
              "author": {
                "additionalProperties": false,
                "properties": {
                  "actor_type": {
                    "type": "string"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "actor_type",
                  "name"
                ],
                "type": "object"
              },
              "body": {
                "type": "string"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "body",
              "author",
              "created_at"
            ],
            "type": "object"
          },
          "comment_id": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "publish_review_id": {
            "type": "string"
          },
          "review_url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "comment_id",
          "publish_review_id"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One comment receipt.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "publish_review_id": "00000000-0000-0000-0000-000000000001",
        "body": "Please inspect the title."
      },
      "example_result": {
        "result": {
          "comment_id": "00000000-0000-0000-0000-000000000001",
          "publish_review_id": "00000000-0000-0000-0000-000000000001",
          "canonical_path": "/publishing/00000000-0000-0000-0000-000000000001",
          "review_url": "https://tusella.test/publishing/00000000-0000-0000-0000-000000000001",
          "created_at": "2026-10-03T00:00:00Z"
        }
      }
    },
    {
      "name": "publish_review_create",
      "title": "Publish review create",
      "group": "publish-review",
      "summary": "Prepare a durable publication for the seller to confirm in Tusella.",
      "description": "Prepare a durable publication for the seller to confirm in Tusella. Never dispatches, publishes, or schedules — the seller's own Publish click is the sole authorization. Give listing_ids or query, never both; a bound listing may be used when both are omitted. An optional name labels the set in Publishing. A listing that is not ready still joins it, with its blockers in by_target; returns refused=true only when no included listing belongs to a connected shop.",
      "scopes": [
        "listings:write"
      ],
      "permission": "publish.review",
      "effect": "Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.",
      "notes": [
        "Retry-safe: repeat the same `client_request_id` with the same arguments."
      ],
      "hints": {
        "readOnly": false,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/publish_review_create/",
      "markdown": "https://tusella.com/docs/mcp/tools/publish_review_create.md",
      "input_schema": {
        "properties": {
          "client_request_id": {
            "description": "Stable replay identity for this call; repeat it to retry safely.",
            "type": "string"
          },
          "comment": {
            "description": "Optional comment for the seller on this publication: why this set, what to check (up to 2000 characters).",
            "type": "string"
          },
          "listing_ids": {
            "description": "Explicit listing UUIDs to include. Never together with query.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "description": "Optional name for the publication the seller will see in Publishing (up to 120 characters).",
            "type": "string"
          },
          "query": {
            "description": "A ListingQuery of typed predicates naming what to include.",
            "type": "object"
          },
          "shop_id": {
            "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
            "type": "string"
          }
        },
        "required": [
          "client_request_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "blocking_by_target_by_listing": {
            "type": "object"
          },
          "blocking_codes_by_listing": {
            "type": "object"
          },
          "by_target": {
            "type": "object"
          },
          "canonical_path": {
            "type": "string"
          },
          "comment": {
            "additionalProperties": false,
            "properties": {
              "author": {
                "additionalProperties": false,
                "properties": {
                  "actor_type": {
                    "type": "string"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "actor_type",
                  "name"
                ],
                "type": "object"
              },
              "body": {
                "type": "string"
              },
              "created_at": {
                "format": "date-time",
                "type": "string"
              }
            },
            "required": [
              "body",
              "author",
              "created_at"
            ],
            "type": "object"
          },
          "comment_count": {
            "minimum": 0,
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "details_omitted": {
            "type": "boolean"
          },
          "fix_hints": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "issues_by_listing": {
            "type": "object"
          },
          "listing_ids": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_step": {
            "type": "string"
          },
          "publish_review_id": {
            "type": "string"
          },
          "publishing_id": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "refused": {
            "type": "boolean"
          },
          "reused": {
            "type": "boolean"
          },
          "review_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_count": {
            "minimum": 0,
            "type": "integer"
          },
          "thumbnail_by_listing": {
            "additionalProperties": {
              "additionalProperties": false,
              "properties": {
                "expires_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "url",
                "expires_at"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "type": "object"
          },
          "titles_by_listing": {
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            },
            "type": "object"
          },
          "tusella_url_by_listing": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "refused"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "One publication identity or one refusal.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "client_request_id": "descriptor-example-1",
        "listing_ids": [
          "00000000-0000-0000-0000-000000000001"
        ]
      },
      "example_result": {
        "result": {
          "refused": false,
          "publish_review_id": "00000000-0000-0000-0000-000000000001",
          "publishing_id": "00000000-0000-0000-0000-000000000001",
          "canonical_path": "/publishing/00000000-0000-0000-0000-000000000001",
          "review_url": "https://tusella.test/publishing/00000000-0000-0000-0000-000000000001",
          "listing_ids": [
            "00000000-0000-0000-0000-000000000001"
          ],
          "reused": false
        }
      }
    },
    {
      "name": "publish_review_read",
      "title": "Publish review read",
      "group": "publish-review",
      "summary": "Read one publication: its stage, comments and listings.",
      "description": "Read one publication: its stage, comments and listings. Before the click each listing shows readiness, changed sections, when Tusella last checked Etsy, edits made after the publication was created, and other open publications holding it. After the click each listing shows its result. Read-only; never reads Etsy.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/publish_review_read/",
      "markdown": "https://tusella.com/docs/mcp/tools/publish_review_read.md",
      "input_schema": {
        "properties": {
          "limit": {
            "description": "Listings per page (1-25), default 10.",
            "type": "integer"
          },
          "offset": {
            "description": "next_offset from the previous page.",
            "type": "integer"
          },
          "publishing_id": {
            "description": "Required. publishing_id from publish_reviews_find or publish_review_create.",
            "type": "string"
          }
        },
        "required": [
          "publishing_id"
        ],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": true,
        "properties": {
          "comment_count": {
            "type": "integer"
          },
          "comments": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          "member_count": {
            "type": "integer"
          },
          "members": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "next_offset": {
            "type": "integer"
          },
          "publishing_id": {
            "type": "string"
          },
          "scope": {
            "type": "object"
          },
          "stage": {
            "type": "string"
          },
          "tusella_url": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "scope",
          "publishing_id",
          "stage",
          "member_count",
          "members",
          "comments",
          "comment_count"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "At most 25 listings per page, continued by next_offset",
          "max_bytes": 18432,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "publishing_id": "00000000-0000-0000-0000-000000000001",
        "limit": 10
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "publishing_id": "00000000-0000-0000-0000-000000000001",
          "name": "Holiday tags",
          "tusella_url": null,
          "stage": "preparing",
          "member_count": 1,
          "members": [
            {
              "listing_id": "00000000-0000-0000-0000-000000000001",
              "title": "Walnut board",
              "ready": true,
              "comparison": "unpublished_changes",
              "changed_sections": [
                {
                  "section": "tags",
                  "state": "changed"
                }
              ],
              "edits_since_created": null,
              "also_in_open_publications": []
            }
          ],
          "comments": [],
          "comment_count": 0
        }
      }
    },
    {
      "name": "publish_reviews_find",
      "title": "Publish reviews find",
      "group": "publish-review",
      "summary": "List the team's publications as the seller sees them in Publishing.",
      "description": "List the team's publications as the seller sees them in Publishing. view=open (default) is those being prepared, scheduled or publishing; history is those finished or cancelled, paged by next_cursor; discarded is those the seller can still bring back. Pass listing_id to see every publication holding one listing. Read-only; never reads Etsy.",
      "scopes": [
        "listings:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/publish_reviews_find/",
      "markdown": "https://tusella.com/docs/mcp/tools/publish_reviews_find.md",
      "input_schema": {
        "properties": {
          "cursor": {
            "description": "history: next_cursor from the previous page.",
            "type": "string"
          },
          "limit": {
            "description": "history: rows per page (1-50).",
            "type": "integer"
          },
          "listing_id": {
            "description": "Optional listing UUID: only publications holding it.",
            "type": "string"
          },
          "shop_id": {
            "description": "Optional shop UUID from team_overview.",
            "type": "string"
          },
          "view": {
            "description": "open (default), history or discarded.",
            "enum": [
              "discarded",
              "history",
              "open"
            ],
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "properties": {
          "more_exist": {
            "type": "boolean"
          },
          "next_cursor": {
            "type": "string"
          },
          "next_step": {
            "type": "string"
          },
          "rows": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "type": "array"
          },
          "scope": {
            "type": "object"
          },
          "view": {
            "type": "string"
          }
        },
        "required": [
          "scope",
          "view",
          "rows"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "Cut to the longest fitting page; history continues by next_cursor",
          "max_bytes": 18432,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "view": "open",
        "listing_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "view": "open",
          "rows": [
            {
              "publishing_id": "00000000-0000-0000-0000-000000000001",
              "stage": "preparing",
              "name": "Holiday tags",
              "listing_count": 3
            }
          ]
        }
      }
    },
    {
      "name": "reference_lookup",
      "title": "Reference lookup",
      "group": "listings",
      "summary": "Find the valid value before writing a constrained field: category search, category attributes and values, shop sections, shipping profiles, return policies, production partners (created/edited in Etsy), readiness (processing) definitions — the source of readiness_state_id — or the shop's labels (archived ones excluded unless include_archived is true).",
      "description": "Find the valid value before writing a constrained field: category search, category attributes and values, shop sections, shipping profiles, return policies, production partners (created/edited in Etsy), readiness (processing) definitions — the source of readiness_state_id — or the shop's labels (archived ones excluded unless include_archived is true). An empty result for a shop kind with zero rows is not an error. Shop reference rows also return reference_id, the local UUID for cross-shop Copy mappings; keep using the named provider IDs for listing edits. For attributes first use kind=category_attributes with include_values=false; required_only=true finds required attributes. If include_values is omitted, fitting catalogs remain complete and an oversized catalog returns compact descriptors instead. values_included=false means search/page category_attribute_values by taxonomy_id, property_id and the returned freshness.revision_id. Profile kinds accept entity_id with explicit shop_id for exact qualified parent fields/fingerprint; profile_section=usage, destinations or upgrades pages exact evidence. receipt_ref reads bounded before/after/provider/request evidence via receipt_section. Original processing units remain unknown without receipt input. Shop-profile reads never refresh; use shop_profiles_refresh explicitly. Keep revision_id and query unchanged across pages; restart discovery if a revision is unavailable. Read-only; org-scoped.",
      "scopes": [
        "listings:read",
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/reference_lookup/",
      "markdown": "https://tusella.com/docs/mcp/tools/reference_lookup.md",
      "input_schema": {
        "allOf": [
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "category"
                }
              }
            },
            "then": {
              "properties": {
                "query": {
                  "minLength": 2
                }
              },
              "required": [
                "query"
              ]
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "category_attribute_values"
                }
              }
            },
            "then": {
              "required": [
                "taxonomy_id",
                "property_id",
                "revision_id"
              ]
            }
          }
        ],
        "properties": {
          "entity_id": {
            "description": "Exact Etsy profile identity; requires explicit shop_id and a profile kind.",
            "maxLength": 20,
            "pattern": "^[1-9][0-9]*$",
            "type": "string"
          },
          "include_archived": {
            "description": "label: include archived labels too (default false).",
            "type": "boolean"
          },
          "include_values": {
            "description": "category_attributes: false returns compact descriptors; true requests complete value catalogs and refuses an oversized row. When omitted, fitting catalogs remain complete; an oversized catalog returns compact descriptors with values_included=false. Search category_attribute_values for those values.",
            "type": "boolean"
          },
          "kind": {
            "description": "Which reference-data set to look up.",
            "enum": [
              "category",
              "category_attribute_values",
              "category_attributes",
              "label",
              "production_partner",
              "readiness_definition",
              "return_policy",
              "shipping_profile",
              "shop_section"
            ],
            "type": "string"
          },
          "leaf_only": {
            "description": "Category: restrict to leaf nodes only.",
            "type": "boolean"
          },
          "limit": {
            "description": "Max rows per page (1-50).",
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "offset": {
            "description": "Page offset, default 0.",
            "type": "integer"
          },
          "profile_section": {
            "description": "Exact profile read section; shipping children and Workspace usage are paged.",
            "enum": [
              "entity",
              "usage",
              "destinations",
              "upgrades"
            ]
          },
          "property_id": {
            "description": "category_attribute_values: required Etsy property_id from a descriptor.",
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "Category search (at least 2 characters); category_attribute_values: optional case-insensitive value substring, at most 512 characters.",
            "type": "string"
          },
          "receipt_ref": {
            "description": "Exact shop-profile mutation receipt; requires explicit shop_id and matching profile kind.",
            "format": "uuid",
            "type": "string"
          },
          "receipt_section": {
            "description": "Exact receipt evidence section; split oversized receipts and page children.",
            "enum": [
              "all",
              "before",
              "after",
              "provider",
              "request",
              "before_destinations",
              "after_destinations",
              "before_upgrades",
              "after_upgrades"
            ]
          },
          "required_only": {
            "default": false,
            "description": "category_attributes: return only required attributes before pagination.",
            "type": "boolean"
          },
          "revision_id": {
            "description": "Required for category_attribute_values; optional for category_attributes continuation. Copy freshness.revision_id to keep pages on one immutable revision.",
            "minimum": 1,
            "type": "integer"
          },
          "shop_id": {
            "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
            "type": "string"
          },
          "taxonomy_id": {
            "description": "category_attributes / category_attribute_values: the category id.",
            "type": "integer"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "description": "Exact qualified profile or bounded receipt evidence; preserves identities, qualification, omissions and continuation.",
                "type": "object"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "is_leaf": {
                      "type": "boolean"
                    },
                    "label": {
                      "type": "string"
                    },
                    "path": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "taxonomy_id": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "archived": {
                      "type": "boolean"
                    },
                    "color": {
                      "type": "string"
                    },
                    "label_id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "is_multivalued": {
                      "type": "boolean"
                    },
                    "is_required": {
                      "type": "boolean"
                    },
                    "max_values_allowed": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "possible_values": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "property_id": {
                      "type": "integer"
                    },
                    "scale_options": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "supports_attributes": {
                      "type": "boolean"
                    },
                    "supports_variations": {
                      "type": "boolean"
                    },
                    "value_count": {
                      "type": "integer"
                    },
                    "value_options": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "value_type": {
                      "type": "string"
                    },
                    "values_included": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "property_value_id": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "scale_id": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "value",
                    "property_value_id",
                    "scale_id"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "detail": {
                    "type": "string"
                  },
                  "shop_ids": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "status": {
                    "const": "cannot_resolve",
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "retry": {
                    "const": true,
                    "type": "boolean"
                  },
                  "status": {
                    "const": "resolving",
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "retry"
                ],
                "type": "object"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "reference_id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "shop_section_id": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "origin_country_iso": {
                      "type": "string"
                    },
                    "processing_max": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "processing_min": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "profile_type": {
                      "type": "string"
                    },
                    "reference_id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "shipping_profile_id": {
                      "type": "integer"
                    },
                    "title": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "accepts_exchanges": {
                      "type": "boolean"
                    },
                    "accepts_returns": {
                      "type": "boolean"
                    },
                    "reference_id": {
                      "format": "uuid",
                      "type": "string"
                    },
                    "return_deadline": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "return_policy_id": {
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "location": {
                      "type": "string"
                    },
                    "partner_name": {
                      "type": "string"
                    },
                    "production_partner_id": {
                      "type": "string"
                    },
                    "reference_id": {
                      "format": "uuid",
                      "type": "string"
                    }
                  },
                  "required": [
                    "production_partner_id",
                    "partner_name",
                    "location"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "processing_display": {
                      "type": "string"
                    },
                    "processing_max": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "processing_min": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "readiness_state_id": {
                      "type": "integer"
                    },
                    "reference_id": {
                      "format": "uuid",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": "array"
              }
            ],
            "description": "Shape depends on kind: category → array of taxonomy candidates; category_attribute_values → array of exact value/ID/scale rows; category_attributes → array of attribute rows, or an object reporting the metadata is not yet resolvable (status cannot_resolve or resolving); label → array of the shop's labels, or an object reporting the shop cannot be resolved (status cannot_resolve); shop_section / shipping_profile / return_policy / readiness_definition / production_partner → array of that shop-reference kind's rows."
          },
          "freshness": {
            "type": "object"
          },
          "next_offset": {
            "type": "integer"
          },
          "provenance": {
            "type": "string"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "organization_id": {
                "type": "string"
              },
              "property_id": {
                "type": "integer"
              },
              "shop_id": {
                "type": "string"
              },
              "taxonomy_id": {
                "type": "integer"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "data"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "At most 50 rows per page; list results are cut to the longest complete-response prefix and continue through next_offset; one row that cannot fit is refused rather than truncated",
          "max_bytes": 65536,
          "strategy": "row-pagination"
        }
      },
      "example_input": {
        "kind": "category",
        "query": "mug"
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "schema_snapshot_version": 1
          },
          "provenance": "workspace",
          "data": [
            {
              "taxonomy_id": 190,
              "label": "Mugs",
              "path": [
                "Home",
                "Mugs"
              ],
              "is_leaf": true
            }
          ]
        }
      }
    },
    {
      "name": "shop_overview",
      "title": "Shop overview",
      "group": "start",
      "summary": "Orient on a shop before finding anything: listing counts by status and by change-vs-Etsy state, shop sections with listing counts, top tags, active-listing price range, unpublished-changes count, and listing_facts: photos without alt text and free tag slots across active listings, each with totals and the listings with the most; variations at zero stock in active listings that still sell other variations; and active listings whose Etsy listing expires within 30 days, soonest first.",
      "description": "Orient on a shop before finding anything: listing counts by status and by change-vs-Etsy state, shop sections with listing counts, top tags, active-listing price range, unpublished-changes count, and listing_facts: photos without alt text and free tag slots across active listings, each with totals and the listings with the most; variations at zero stock in active listings that still sell other variations; and active listings whose Etsy listing expires within 30 days, soonest first. Stock is as of the last sync from Etsy. Answers for a shop with zero listings. compact=true returns counts and explicit omissions; reference_lookup pages full shop sections, while top tags are a capped sample. Read-only; org-scoped.",
      "scopes": [
        "listings:read",
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/shop_overview/",
      "markdown": "https://tusella.com/docs/mcp/tools/shop_overview.md",
      "input_schema": {
        "properties": {
          "compact": {
            "description": "Return bounded counts and readiness with explicit section/tag omissions.",
            "type": "boolean"
          },
          "shop_id": {
            "description": "UUID of a connected shop from team_overview. External agents may omit it only when the team has one selectable shop; an in-app turn may use its selected shop.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "oneOf": [
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "omissions"
                  ]
                },
                {
                  "required": [
                    "representation"
                  ]
                }
              ]
            },
            "required": [
              "shop_sections",
              "top_tags"
            ]
          },
          {
            "not": {
              "anyOf": [
                {
                  "required": [
                    "shop_sections"
                  ]
                },
                {
                  "required": [
                    "top_tags"
                  ]
                }
              ]
            },
            "required": [
              "representation",
              "omissions"
            ]
          }
        ],
        "properties": {
          "comparison_readiness": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "type": "string"
              },
              "unqualified_count": {
                "type": "integer"
              }
            },
            "required": [
              "status",
              "unqualified_count"
            ],
            "type": "object"
          },
          "counts_by_changes_vs_etsy": {
            "additionalProperties": false,
            "properties": {
              "changed_on_etsy": {
                "type": "integer"
              },
              "conflict": {
                "type": "integer"
              },
              "not_on_etsy": {
                "type": "integer"
              },
              "unknown": {
                "type": "integer"
              },
              "unpublished_changes": {
                "type": "integer"
              },
              "up_to_date": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "counts_by_status": {
            "additionalProperties": false,
            "properties": {
              "active": {
                "type": "integer"
              },
              "draft": {
                "type": "integer"
              },
              "expired": {
                "type": "integer"
              },
              "inactive": {
                "type": "integer"
              },
              "sold_out": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "freshness": {
            "additionalProperties": false,
            "properties": {
              "live": {
                "type": "boolean"
              }
            },
            "type": "object"
          },
          "listing_count": {
            "type": "integer"
          },
          "listing_facts": {
            "additionalProperties": false,
            "description": "Counts over active listings, not ratings. examples are the listings with the largest count; for expiring_soon, the soonest to expire.",
            "properties": {
              "expiring_soon": {
                "additionalProperties": false,
                "properties": {
                  "examples": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "expires_at": {
                          "format": "date-time",
                          "type": "string"
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "listing_id",
                        "title",
                        "expires_at"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "listing_count": {
                    "type": "integer"
                  },
                  "window_days": {
                    "const": 30
                  }
                },
                "required": [
                  "window_days",
                  "listing_count",
                  "examples"
                ],
                "type": "object"
              },
              "free_tag_slots": {
                "additionalProperties": false,
                "properties": {
                  "examples": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "listing_id",
                        "title",
                        "count"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "listing_count": {
                    "type": "integer"
                  },
                  "slot_count": {
                    "type": "integer"
                  },
                  "tag_limit": {
                    "const": 13
                  }
                },
                "required": [
                  "slot_count",
                  "listing_count",
                  "examples",
                  "tag_limit"
                ],
                "type": "object"
              },
              "photos_without_alt_text": {
                "additionalProperties": false,
                "properties": {
                  "examples": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "listing_id",
                        "title",
                        "count"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "listing_count": {
                    "type": "integer"
                  },
                  "photo_count": {
                    "type": "integer"
                  }
                },
                "required": [
                  "photo_count",
                  "listing_count",
                  "examples"
                ],
                "type": "object"
              },
              "variations_out_of_stock": {
                "additionalProperties": false,
                "properties": {
                  "examples": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "listing_id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "listing_id",
                        "title",
                        "count"
                      ],
                      "type": "object"
                    },
                    "maxItems": 3,
                    "type": "array"
                  },
                  "listing_count": {
                    "type": "integer"
                  },
                  "variation_count": {
                    "type": "integer"
                  }
                },
                "required": [
                  "variation_count",
                  "listing_count",
                  "examples"
                ],
                "type": "object"
              }
            },
            "required": [
              "photos_without_alt_text",
              "free_tag_slots",
              "variations_out_of_stock",
              "expiring_soon"
            ],
            "type": "object"
          },
          "omissions": {
            "additionalProperties": false,
            "properties": {
              "shop_sections": {
                "additionalProperties": false,
                "properties": {
                  "coverage": {
                    "const": "none"
                  },
                  "read": {
                    "type": "object"
                  },
                  "representation": {
                    "const": "omitted"
                  }
                },
                "required": [
                  "representation",
                  "coverage",
                  "read"
                ],
                "type": "object"
              },
              "top_tags": {
                "additionalProperties": false,
                "properties": {
                  "available_coverage": {
                    "const": "sample"
                  },
                  "coverage": {
                    "const": "none"
                  },
                  "listing_scan_limit": {
                    "const": 10000
                  },
                  "representation": {
                    "const": "omitted"
                  },
                  "tag_limit": {
                    "const": 25
                  }
                },
                "required": [
                  "representation",
                  "coverage",
                  "available_coverage",
                  "tag_limit",
                  "listing_scan_limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "shop_sections",
              "top_tags"
            ],
            "type": "object"
          },
          "price_range": {
            "additionalProperties": false,
            "properties": {
              "currency": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "max": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "min": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "provenance": {
            "type": "string"
          },
          "representation": {
            "const": "compact"
          },
          "scope": {
            "additionalProperties": false,
            "properties": {
              "organization_id": {
                "type": "string"
              },
              "shop_id": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "shop_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "shop_sections": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "listing_count": {
                  "type": "integer"
                },
                "shop_section_id": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "top_tags": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "listing_count": {
                  "type": "integer"
                },
                "tag": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "unpublished_changes_count": {
            "type": "integer"
          }
        },
        "required": [
          "scope",
          "freshness",
          "provenance",
          "listing_count",
          "counts_by_status",
          "counts_by_changes_vs_etsy",
          "comparison_readiness",
          "price_range",
          "unpublished_changes_count",
          "listing_facts"
        ],
        "type": "object",
        "x-result-size-budget": {
          "description": "At most 100 shop sections and 25 top tags; an oversized complete external overview refuses before delivery.",
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {
        "shop_id": "00000000-0000-0000-0000-000000000001"
      },
      "example_result": {
        "result": {
          "scope": {
            "organization_id": "00000000-0000-0000-0000-000000000001",
            "shop_id": "00000000-0000-0000-0000-000000000001"
          },
          "freshness": {
            "live": true
          },
          "provenance": "workspace",
          "listing_count": 0,
          "counts_by_status": {
            "active": 0,
            "draft": 0,
            "inactive": 0,
            "sold_out": 0,
            "expired": 0
          },
          "counts_by_changes_vs_etsy": {
            "up_to_date": 0,
            "unpublished_changes": 0,
            "changed_on_etsy": 0,
            "conflict": 0,
            "unknown": 0,
            "not_on_etsy": 0
          },
          "comparison_readiness": {
            "status": "ready",
            "unqualified_count": 0
          },
          "shop_sections": [],
          "top_tags": [],
          "price_range": {
            "min": null,
            "max": null,
            "currency": null
          },
          "unpublished_changes_count": 0,
          "listing_facts": {
            "photos_without_alt_text": {
              "photo_count": 7,
              "listing_count": 2,
              "examples": [
                {
                  "listing_id": "00000000-0000-0000-0000-000000000002",
                  "title": "Walnut serving board",
                  "count": 5
                },
                {
                  "listing_id": "00000000-0000-0000-0000-000000000003",
                  "title": "Oak wall shelf",
                  "count": 2
                }
              ]
            },
            "free_tag_slots": {
              "tag_limit": 13,
              "slot_count": 9,
              "listing_count": 1,
              "examples": [
                {
                  "listing_id": "00000000-0000-0000-0000-000000000003",
                  "title": "Oak wall shelf",
                  "count": 9
                }
              ]
            },
            "variations_out_of_stock": {
              "variation_count": 2,
              "listing_count": 1,
              "examples": [
                {
                  "listing_id": "00000000-0000-0000-0000-000000000004",
                  "title": "Linen apron",
                  "count": 2
                }
              ]
            },
            "expiring_soon": {
              "window_days": 30,
              "listing_count": 1,
              "examples": [
                {
                  "listing_id": "00000000-0000-0000-0000-000000000003",
                  "title": "Oak wall shelf",
                  "expires_at": "2026-12-01T00:00:00+00:00"
                }
              ]
            }
          }
        }
      }
    },
    {
      "name": "team_overview",
      "title": "Team overview",
      "group": "start",
      "summary": "Orient on the connected team, its shops and their terms, your role and access.",
      "description": "Orient on the connected team, its shops and their terms, your role and access. shops_page optionally pages current connected shops in stable ID order; consistency is live across pages.",
      "scopes": [
        "listings:read",
        "pinterest:read"
      ],
      "permission": "workspace.read",
      "effect": "Reads only; changes nothing.",
      "notes": [],
      "hints": {
        "readOnly": true,
        "destructive": false,
        "idempotent": true
      },
      "html": "https://tusella.com/docs/mcp/tools/team_overview/",
      "markdown": "https://tusella.com/docs/mcp/tools/team_overview.md",
      "input_schema": {
        "additionalProperties": false,
        "properties": {
          "shops_page": {
            "additionalProperties": false,
            "description": "Page live connected shops in stable ID order; omitted preserves the complete legacy overview.",
            "properties": {
              "cursor": {
                "maxLength": 2048,
                "type": "string"
              },
              "limit": {
                "default": 25,
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "output_schema": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "type": "string"
          },
          "access_state": {
            "type": "object"
          },
          "links": {
            "type": "object"
          },
          "next_step": {
            "description": "Present while no shop is connected or a shop is free: what to tell the seller next, with the link.",
            "type": "string"
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "shops": {
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "shops_page": {
            "additionalProperties": false,
            "description": "Page live connected shops in stable ID order; omitted preserves the complete legacy overview.",
            "properties": {
              "complete": {
                "type": "boolean"
              },
              "consistency": {
                "const": "live"
              },
              "next_cursor": {
                "maxLength": 2048,
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "complete",
              "next_cursor",
              "consistency"
            ],
            "type": "object"
          },
          "team": {
            "type": "object"
          }
        },
        "required": [
          "team",
          "access_state",
          "shops",
          "role",
          "access",
          "links"
        ],
        "type": "object",
        "x-result-size-budget": {
          "max_bytes": 16384,
          "strategy": "bounded-result"
        }
      },
      "example_input": {},
      "example_result": {
        "result": {
          "team": {
            "id": "00000000-0000-0000-0000-000000000001",
            "name": "Example team"
          },
          "access_state": {
            "connected_agents_enabled": true
          },
          "shops": [
            {
              "shop_id": "00000000-0000-0000-0000-000000000001",
              "name": "Example shop",
              "parked": false,
              "term_state": "paid"
            }
          ],
          "role": "owner",
          "access": "view_and_edit",
          "links": {
            "catalog": "https://tusella.test/catalog",
            "plan_and_billing": "https://tusella.test/settings/billing"
          }
        }
      }
    }
  ]
}
