n8n_create_project
Create a new project in n8n by specifying a name and optional type to organize workflows and automation tasks.
Instructions
Create a new project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Project name | |
| type | No | Project type |
Implementation Reference
- src/n8n-client.ts:242-245 (handler)The actual implementation of the project creation in the n8n API client.
async createProject(data: { name: string; type?: string }): Promise<any> { const response = await this.client.post('/projects', data); return response.data; } - src/index.ts:340-346 (handler)The tool handler that receives the request and calls the n8n client.
case 'n8n_create_project': { if (!args?.name) throw new Error('name is required'); const result = await n8nClient.createProject(args as any); return { content: [{ type: 'text', text: formatResponse(result) }], }; } - src/index.ts:827-838 (registration)The tool registration defining the schema and input requirements for 'n8n_create_project'.
{ name: 'n8n_create_project', description: 'Create a new project', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Project name' }, type: { type: 'string', description: 'Project type' }, }, required: ['name'], }, },