Remove a digital file from a product
remove_digital_fileRemove a digital file from a product by its file URL. Provide the product ID and file URL to detach that asset from the product.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Removes a digital file from the product by its file URL.
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": {
"product_id": "<product_id>"
},
"name": "remove_digital_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| fileUrl | No | ||
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| product_id | Yes | Native productId | |
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. |