create_cart_transform
Create a cart transform by assigning a Shopify Function to modify cart behavior. Pass a function ID and optional metafields for configuration.
Instructions
Create a new cart transform using a Shopify Function
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": {
"functionId": "<functionId>"
},
"name": "create_cart_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionId | Yes | ID of the cart transform function to use | |
| metafields | No | Configuration metafields for the function |