Connect a Shopify store
connect_storeAdd a Shopify store or sign in again when authentication expires by opening Shopify's browser approval page; reuse the store name to complete pending sign-in.
Instructions
Add a store, or sign in to one again when its session expired. Opens Shopify's own sign-in page in the user's browser (Shopify CLI "store auth"); the user must approve there, so tell them to look for the browser window. Returns within about 20 seconds; if approval is still pending, call it again with the same name to wait for the result.
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": {
"store": "<store>"
},
"name": "connect_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional human description, for example "Wholesale (NZ)". | |
| store | Yes | Short name to refer to the store by, for example "au-retail". Reuse an existing name to sign in again. | |
| domain | No | The store's permanent myshopify.com domain, for example "acme.myshopify.com". Required for a new store. | |
| scopes | No | Admin API scopes to request. Defaults to: write_products, write_inventory, read_locations, write_orders, write_draft_orders, write_fulfillments, write_customers, write_discounts, write_content, write_metaobjects, write_files, write_publications, read_themes, read_reports, read_analytics. | |
| read_only | No | Request read-only access and refuse mutations for this store. |