publish_review_create
Prepare a durable publication for the seller to confirm in Tusella.
For agents: this page as Markdown.
- Group
- Publications
- Granted by
-
listings:write - Team permission
-
publish.review— a role that can prepare publications - Effect
- Writes to the seller’s Tusella workspace only. Nothing is sent to Etsy or Pinterest.
- Retry-safe
- Repeat the same
client_request_idwith the same arguments.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| client_request_id | string | yes | Stable replay identity for this call; repeat it to retry safely. |
| comment | string | no | Optional comment for the seller on this publication: why this set, what to check (up to 2000 characters). |
| listing_ids | array of string | no | Explicit listing UUIDs to include. Never together with query. |
| name | string | no | Optional name for the publication the seller will see in Publishing (up to 120 characters). |
| query | object | no | A ListingQuery of typed predicates naming what to include. |
| shop_id | string | no | 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. |
Example
{
"client_request_id": "descriptor-example-1",
"listing_ids": [
"00000000-0000-0000-0000-000000000001"
]
}{
"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
}
}Schemas
Exactly what the server declares to MCP clients. The input_schema is what the server validates arguments against.
Input schema· 35 lines of JSON
{
"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· 166 lines of JSON
{
"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"
}
}