resume_flow
Resume a paused automation flow in HiveFlow by providing the flow ID, allowing users to restart interrupted processes and continue workflow execution.
Instructions
Reanuda un flujo pausado
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | ID del flujo a reanudar |
Implementation Reference
- src/index.js:408-419 (handler)Executes the resume_flow tool by sending a POST request to /api/flows/{flowId}/resume endpoint of HiveFlow API and returns a formatted success message with the flow status.async resumeFlow(args) { const response = await this.hiveflowClient.post(`/api/flows/${args.flowId}/resume`); return { content: [ { type: 'text', text: `▶️ Flujo reanudado exitosamente.\nEstado: ${response.data.status || 'activo'}` } ] }; }
- src/index.js:135-148 (registration)Registers the 'resume_flow' tool in the ListTools response, including its name, description, and input schema requiring 'flowId'.{ name: 'resume_flow', description: 'Reanuda un flujo pausado', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo a reanudar' } }, required: ['flowId'] } },
- src/index.ts:418-429 (handler)TypeScript version of the resume_flow tool handler, identical logic to JS implementation.private async resumeFlow(args: any) { const response = await this.hiveflowClient.post(`/api/flows/${args.flowId}/resume`); return { content: [ { type: 'text', text: `▶️ Flujo reanudado exitosamente.\nEstado: ${response.data.status || 'activo'}` } ] }; }
- src/index.ts:145-158 (registration)TypeScript version of the tool registration for 'resume_flow', matching the JS counterpart.{ name: 'resume_flow', description: 'Reanuda un flujo pausado', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo a reanudar' } }, required: ['flowId'] } },