delete_files
Permanently delete one or more files from your Shopify store by specifying their file GIDs. This action cannot be undone.
Instructions
Permanently delete one or more files by their GIDs. This cannot be undone. Requires write_files access scope.
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": {
"file_ids": "<file_ids>"
},
"name": "delete_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_ids | Yes | Array of file GIDs to delete (e.g. ['gid://shopify/MediaImage/123', 'gid://shopify/GenericFile/456']). |