ERP: Delete a product photo
erp_product_photo_deleteDelete ONE photo of a product (the stored file and its gallery entry; the remaining photos keep their order and the first becomes main) — the product page gallery's delete. 'photo' = its number in the gallery (1 = main) or its file name. Cannot be undone: the person confirms the deletion in @OrgLinesBot. One photo per call. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"item": "<item>",
"photo": "<photo>"
},
"name": "erp_product_photo_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| photo | Yes |