Run a WhizzyCommerce shop capability
whizzy_callRun one capability of a connected WhizzyCommerce shop, by the name whizzy_tools gave, with its arguments. Reads answer straight away. Most changes are not made by this call: WhizzyCommerce answers with a preview of what would change and a link; give the user that link and stop; they confirm it in their own WhizzyCommerce dashboard, and only then does it happen. Afterwards the shop's changes_status capability, with the change_id from the answer, says whether it was confirmed, declined or expired. Use the shop's propose_plan capability to put several changes in one confirmation. Exceptions: set_theme_tokens and set_theme_settings (colours, fonts, theme settings) apply to the live shop at once, with an Undo in the shop's change log, so ask the user first; page layouts and own themes are drafts the merchant publishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The connected site, by its name or address (see connected_sites). Optional when one site is connected. | |
| tool | Yes | The capability's name, exactly as whizzy_tools lists it. | |
| arguments | No |