Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e79b53465 | ||
|
|
8ce7c62299 | ||
|
|
36839a1c30 |
@@ -282,6 +282,7 @@ export async function handleGetWorkflowStructure(args: unknown): Promise<McpTool
|
||||
id: workflow.id,
|
||||
name: workflow.name,
|
||||
active: workflow.active,
|
||||
isArchived: workflow.isArchived,
|
||||
nodes: simplifiedNodes,
|
||||
connections: workflow.connections,
|
||||
nodeCount: workflow.nodes.length,
|
||||
@@ -325,6 +326,7 @@ export async function handleGetWorkflowMinimal(args: unknown): Promise<McpToolRe
|
||||
id: workflow.id,
|
||||
name: workflow.name,
|
||||
active: workflow.active,
|
||||
isArchived: workflow.isArchived,
|
||||
tags: workflow.tags || [],
|
||||
createdAt: workflow.createdAt,
|
||||
updatedAt: workflow.updatedAt
|
||||
@@ -470,6 +472,7 @@ export async function handleListWorkflows(args: unknown): Promise<McpToolRespons
|
||||
id: workflow.id,
|
||||
name: workflow.name,
|
||||
active: workflow.active,
|
||||
isArchived: workflow.isArchived,
|
||||
createdAt: workflow.createdAt,
|
||||
updatedAt: workflow.updatedAt,
|
||||
tags: workflow.tags || [],
|
||||
|
||||
@@ -49,6 +49,7 @@ export interface Workflow {
|
||||
nodes: WorkflowNode[];
|
||||
connections: WorkflowConnection;
|
||||
active?: boolean; // Optional for creation as it's read-only
|
||||
isArchived?: boolean; // Optional, available in newer n8n versions
|
||||
settings?: WorkflowSettings;
|
||||
staticData?: Record<string, unknown>;
|
||||
tags?: string[];
|
||||
|
||||
Reference in New Issue
Block a user