Integration Status
get_integration_statusCheck one provider's connection state (shopify | amazon | qbo | xero | zoho_books | etsy): connected/active plus, for Shopify, the latest pre-connect order-backfill run when one exists. For QBO, includes both purchase and sales history backfill status and surfaces authentication failures. salesHistory (and, for QBO, purchaseHistory) says what has landed so far: ordersImported, firstOrderDate/lastOrderDate (account-local days) and importState (running | needs_review | completed | failed; null when no import run exists). Report those numbers, and while importState is running move on to the next source instead of waiting. Poll this after handing the start_integration_connect URL to a human. Requires an operator (unpinned) org token.
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": {
"provider": "<provider>"
},
"name": "get_integration_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | shopify | amazon | qbo | xero | zoho_books | etsy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isActive | No | ||
| provider | No | ||
| connected | No | ||
| connectedAt | No | ||
| salesHistory | No | ||
| salesBackfill | No | ||
| purchaseHistory | No | ||
| purchaseBackfill | No | ||
| authenticationStatus | No | ||
| shopifyOrderBackfill | No |