n8n_pull_source_control
Pull changes from source control to update n8n workflows and configurations in your instance.
Instructions
Pull changes from source control
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "n8n_pull_source_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/n8n-client.ts:281-284 (handler)The actual implementation of the tool, calling the n8n API endpoint /source-control/pull.
async pullSourceControl(): Promise<any> { const response = await this.client.post('/source-control/pull'); return response.data; } - src/index.ts:404-409 (registration)Registration of the tool handler within the tool execution switch block.
case 'n8n_pull_source_control': { const result = await n8nClient.pullSourceControl(); return { content: [{ type: 'text', text: formatResponse(result) }], }; } - src/index.ts:913-920 (schema)Schema definition for the n8n_pull_source_control tool.
{ name: 'n8n_pull_source_control', description: 'Pull changes from source control', inputSchema: { type: 'object', properties: {}, }, },