store_remove_product

Remove a product from a store (soft-delete, idempotent).

Soft-deletes the store_products row (sets published=false). product_id refers to the master_product_id. Idempotent: already-unpublished or not-present products return 200 with a status field describing the no-op.

Request

arguments
{
  "slug": "string",
  "product_id": "uuid  // master_product_id"
}

Response

content[0].text (JSON-parsed)
{
  "ok": true,
  "status": "\"unpublished\" | \"already_unpublished\" | \"not_present\""
}

Example

tool call
{
  "name": "store_remove_product",
  "arguments": { "slug": "bravo", "product_id": "b1a4c4ba-…" }
}

Related tools