reconnect_integration
Test and re-establish connection for a Balzac AI platform integration. Updates status to pending while verifying connectivity with CMS platforms like WordPress or Webflow.
Instructions
Re-test the connection of an integration. The status will go to "pending" until the test completes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Workspace UUID | |
| integration_id | Yes | Integration UUID |
Implementation Reference
- src/tools/integrations.ts:143-146 (handler)The handler function for the reconnect_integration tool, which triggers a POST request to re-test the integration.
async ({ workspace_id, integration_id }) => { const res = await client.post(`/workspaces/${workspace_id}/integrations/${integration_id}/reconnect`, {}); return { content: [{ type: 'text' as const, text: JSON.stringify(res.data) }] }; } - src/tools/integrations.ts:136-147 (registration)Registration of the reconnect_integration tool within the MCP server.
server.tool( 'reconnect_integration', 'Re-test the connection of an integration. The status will go to "pending" until the test completes.', { workspace_id: z.string().describe('Workspace UUID'), integration_id: z.string().describe('Integration UUID'), }, async ({ workspace_id, integration_id }) => { const res = await client.post(`/workspaces/${workspace_id}/integrations/${integration_id}/reconnect`, {}); return { content: [{ type: 'text' as const, text: JSON.stringify(res.data) }] }; } );