Check the connected store
get_commerce_connectionThe site's connected online store (Shopify or WooCommerce): whether it is connected, how (store address only, or an Admin API token), what that connection reads and whether it offers order status, the store address, when products last synced and any sync problem, how many products are synced and published, whether synced products are published automatically, and (token connections only) the webhook address to set in the store. Never returns the token or signing secret.
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": {
"site_id": "<site_id>"
},
"name": "get_commerce_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. |