hac_storefront_app_config
Inspects and aligns local Composable Storefront Angular workspace configuration, syncing OCC backend URL, baseSite, routing, and B2B/B2C mode flags for SAP Commerce.
Instructions
Inspects and aligns the local Composable Storefront Angular workspace configuration:
Synchronizes backend OCC CX_BASE_URL in .env-cmdrc
Aligns baseSite and multi-language routing in spartacus-b2b-configuration.providers.ts
Verifies B2B/B2C mode flags
Args: storefront_dir: Path to local Spartacus storefront repository backend_url: Target Commerce Cloud backend OCC URL (default 'https://localhost:9002') base_site: Target BaseSite UID (default 'powertools-spa') b2b_mode: Whether B2B mode is enabled (default True) lang: Output language ('zh' or 'en')
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hac_storefront_app_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | zh | |
| b2b_mode | No | ||
| base_site | No | powertools-spa | |
| backend_url | No | https://localhost:9002 | |
| storefront_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |