flowcheck_sync
Trigger a full sync of all connected integrations and run reconciliation to detect issues and validate financial processes programmatically.
Instructions
Trigger a full sync of all connected integrations (Stripe, Shopify, Plaid) and run reconciliation. Returns which sources were synced, how many records were processed, and reconciliation results. Rate limited to 1 sync per 5 minutes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/sync.ts:19-22 (handler)The handler function that executes the POST request to /sync on the FlowCheckClient.
async () => { const result = await client.request("POST", "/sync"); return { content: [{ type: "text" as const, text: result }] }; }, - src/tools/sync.ts:9-23 (registration)The registration block for the flowcheck_sync tool using server.registerTool.
server.registerTool( "flowcheck_sync", { title: "Sync Integrations", description: "Trigger a full sync of all connected integrations (Stripe, Shopify, Plaid) " + "and run reconciliation. Returns which sources were synced, how many records " + "were processed, and reconciliation results. Rate limited to 1 sync per 5 minutes.", inputSchema: z.object({}), }, async () => { const result = await client.request("POST", "/sync"); return { content: [{ type: "text" as const, text: result }] }; }, );