Skip to main content
Glama

retell_list_conversation_flows

Retrieve all conversation flows from Retell AI's platform to manage AI phone and chat agents.

Instructions

List all conversation flows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation within the executeTool switch statement. Executes a GET request to the Retell API's /list-conversation-flows endpoint using the shared retellRequest helper, with no arguments required.
    case "retell_list_conversation_flows": return retellRequest("/list-conversation-flows", "GET");
  • src/index.ts:840-847 (registration)
    Tool registration entry in the tools array exported for MCP's listTools handler. Defines the tool name, description, and empty input schema (no parameters required).
    { name: "retell_list_conversation_flows", description: "List all conversation flows.", inputSchema: { type: "object", properties: {} } },
  • Input schema definition for the tool, specifying an empty object (no input parameters).
    inputSchema: { type: "object", properties: {} }
  • Shared helper function that performs authenticated HTTP requests to the Retell API. Handles authentication with RETELL_API_KEY, JSON serialization, error handling, and response parsing. Used by all Retell tool handlers including this one.
    async function retellRequest( endpoint: string, method: string = "GET", body?: Record<string, unknown> ): Promise<unknown> { const apiKey = getApiKey(); const headers: Record<string, string> = { "Authorization": `Bearer ${apiKey}`, "Content-Type": "application/json", }; const options: RequestInit = { method, headers, }; if (body && method !== "GET") { options.body = JSON.stringify(body); } const response = await fetch(`${RETELL_API_BASE}${endpoint}`, options); if (!response.ok) { const errorText = await response.text(); throw new Error(`Retell API error (${response.status}): ${errorText}`); } // Handle 204 No Content if (response.status === 204) { return { success: true }; } return response.json(); }

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/itsanamune/retellsimp'

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