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