Skip to main content
Glama
hiveflowai

HiveFlow MCP Server

Official
by hiveflowai

resume_flow

Resume a paused automation flow in HiveFlow by providing the flow ID to restart execution.

Instructions

Reanuda un flujo pausado

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowIdYesID del flujo a reanudar

Implementation Reference

  • The main handler function for the 'resume_flow' tool. It sends a POST request to the HiveFlow API to resume the specified flow and returns a success message with the new 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'}`
          }
        ]
      };
    }
  • Input schema for the 'resume_flow' tool, defining that it requires a 'flowId' string parameter.
    inputSchema: {
      type: 'object',
      properties: {
        flowId: {
          type: 'string',
          description: 'ID del flujo a reanudar'
        }
      },
      required: ['flowId']
    }
  • src/index.js:136-149 (registration)
    Tool registration in the ListToolsRequestSchema handler, defining the name, description, and input schema for 'resume_flow'.
    {
      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.js:224-225 (registration)
    Dispatch case in the CallToolRequestSchema handler that routes 'resume_flow' calls to the resumeFlow method.
    case 'resume_flow':
      return await this.resumeFlow(args);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hiveflowai/hiveflow-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server