woo_scaffold_checkout_block
Create a WooCommerce Checkout Block extension by scaffolding React components, a PHP IntegrationInterface class, and block.json. Add custom fields or UI to the block-based checkout.
Instructions
Generate a WooCommerce Checkout Block extension: React component for checkout, IntegrationInterface PHP class, and block.json. For extending the block-based checkout with custom fields or UI.
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": {
"rootNamespace": "<rootNamespace>",
"extensionName": "<extensionName>",
"extensionSlug": "<extensionSlug>",
"textDomain": "<textDomain>"
},
"name": "woo_scaffold_checkout_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootNamespace | Yes | Plugin root namespace | |
| extensionName | Yes | Extension name in PascalCase (e.g., "GiftWrapping") | |
| extensionSlug | Yes | Extension slug (e.g., "gift-wrapping") | |
| textDomain | Yes | Plugin text domain | |
| description | No | Extension description |