n8n_source_control_disconnect
Disconnect from the remote Git repository to remove Git integration from n8n workflows.
Instructions
Disconnect from the remote Git repository.
⚠️ WARNING: This will remove the Git integration!
Returns: Confirmation of disconnection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/users-sourcecontrol.ts:287-294 (handler)Handler function for n8n_source_control_disconnect tool which performs a post request to disconnect source control.
async () => { await post('/source-control/disconnect'); return { content: [{ type: 'text', text: '✅ Source control disconnected successfully.' }], structuredContent: { disconnected: true } }; } - src/tools/users-sourcecontrol.ts:269-286 (registration)Registration of the n8n_source_control_disconnect tool including schema and metadata.
server.registerTool( 'n8n_source_control_disconnect', { title: 'Disconnect Source Control', description: `Disconnect from the remote Git repository. ⚠️ WARNING: This will remove the Git integration! Returns: Confirmation of disconnection.`, inputSchema: EmptySchema, annotations: { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: false } },