Skip to main content
Glama

HiveFlow MCP Server

Official
by hiveflowai

get_flow

Retrieve detailed information about a specific automation flow by providing its unique ID, enabling AI assistants to manage and execute workflows effectively within the HiveFlow platform.

Instructions

Obtiene detalles de un flujo específico

Input Schema

NameRequiredDescriptionDefault
flowIdYesID del flujo

Input Schema (JSON Schema)

{ "properties": { "flowId": { "description": "ID del flujo", "type": "string" } }, "required": [ "flowId" ], "type": "object" }

Implementation Reference

  • The handler function for the 'get_flow' tool. It makes an API call to retrieve details of a specific flow by ID and returns a formatted text response with key flow information.
    async getFlow(args) { const response = await this.hiveflowClient.get(`/api/flows/${args.flowId}`); const flow = response.data.flow; return { content: [ { type: 'text', text: `📊 Detalles del flujo "${flow.name}":\n• ID: ${flow._id}\n• Estado: ${flow.status || 'draft'}\n• Nodos: ${flow.nodes?.length || 0}\n• Descripción: ${flow.description || 'Sin descripción'}\n• Última actualización: ${flow.updatedAt || 'N/A'}` } ] }; }
  • Schema definition for the 'get_flow' tool, including name, description, and input schema requiring a 'flowId' string.
    { name: 'get_flow', description: 'Obtiene detalles de un flujo específico', inputSchema: { type: 'object', properties: { flowId: { type: 'string', description: 'ID del flujo' } }, required: ['flowId'] } },
  • src/index.js:218-219 (registration)
    Registration/dispatch in the CallToolRequestHandler switch statement that maps 'get_flow' tool calls to the getFlow handler method.
    case 'get_flow': return await this.getFlow(args);

Other Tools

Related Tools

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