pause_workflow
Pause a running workflow execution to temporarily halt its progress, allowing for troubleshooting or manual intervention before resuming.
Instructions
Pause a running workflow execution. The workflow will pause and can be resumed later.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflowId | Yes | The workflow execution ID to pause |
Implementation Reference
- src/index.ts:512-524 (handler)Executes the pause_workflow tool by sending a PUT request to the Conductor API endpoint `/workflow/${workflowId}/pause` and returns a success message.case "pause_workflow": { const { workflowId } = args as any; await conductorClient.put(`/workflow/${workflowId}/pause`); return { content: [ { type: "text", text: `Workflow ${workflowId} paused successfully.`, }, ], }; }
- src/index.ts:116-130 (schema)Defines the input schema and metadata for the pause_workflow tool, including required workflowId parameter.{ name: "pause_workflow", description: "Pause a running workflow execution. The workflow will pause and can be resumed later.", inputSchema: { type: "object", properties: { workflowId: { type: "string", description: "The workflow execution ID to pause", }, }, required: ["workflowId"], }, },
- src/index.ts:419-435 (registration)Registers the list tools handler which exposes the pause_workflow tool (included in the tools array) to MCP clients.]; // Create MCP server const server = new Server( { name: "conductor-mcp", version: "1.0.0", }, { capabilities: { tools: {}, }, } ); // Handle list tools request server.setRequestHandler(ListToolsRequestSchema, async () => {