toggle_custom_pixel
Activate or deactivate a custom pixel by providing its ID and desired state. Manage Shopify tracking scripts with a simple boolean switch.
Instructions
Enable or disable a custom pixel
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": {
"id": "<id>",
"enabled": "<enabled>"
},
"name": "toggle_custom_pixel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Custom Pixel ID | |
| enabled | Yes | Whether to enable (true) or disable (false) the pixel |