n8n_get_project
Retrieve details of a specific n8n project by providing its unique ID to access project information including name and type.
Instructions
Get details of a specific project.
Args:
id (string): Project ID
Returns: Project details with id, name, and type.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique identifier of the resource |
Implementation Reference
- src/tools/projects.ts:70-97 (handler)The 'n8n_get_project' tool is defined and implemented here as an asynchronous handler using the project ID to fetch project details via the 'get' API service.
server.registerTool( 'n8n_get_project', { title: 'Get n8n Project', description: `Get details of a specific project. Args: - id (string): Project ID Returns: Project details with id, name, and type.`, inputSchema: IdParamSchema, annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false } }, async (params: z.infer<typeof IdParamSchema>) => { const project = await get<N8nProject>(`/projects/${params.id}`); return { content: [{ type: 'text', text: formatProject(project) }], structuredContent: project }; } );