toggle_extension
Toggle a WPCafe module on or off using its slug to control which features are active on your site.
Instructions
Enable or disable a WPCafe module by its slug. Affects which features are active on the site.
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": {
"slug": "<slug>",
"status": "<status>"
},
"name": "toggle_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Module slug to toggle. Known slugs: reservation, food_ordering, qr_code, tipping, mini_cart, email_automation, restaurant_management, delivery, pickup, discount, timed_product, pause_orders, dine_in, table_layout, notifications | |
| status | Yes | Enable ('on') or disable ('off') the module |