connect_store
Mutation/readOnly:false, script-tier/no-model-token action. Connect the owner's WooCommerce store by its website address (baseUrl, e.g. "https://shop.example.com"). This reads the store's catalog to check it can be reached and returns productCount; products sync into the storefront after the owner grants access and the key is saved (authorize_store, then save_store_keys). Products stay hidden until keys are verified and products are turned on. Storefront Pro.
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": {
"baseUrl": "<baseUrl>",
"proAccessToken": "<proAccessToken>"
},
"name": "connect_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | Yes | The store website address, e.g. "https://shop.example.com". | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |