Skip to main content
Glama

retell_list_conversation_flows

Retrieve and view all conversation flows configured in the Retell AI platform for managing voice and chat agents.

Instructions

List all conversation flows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Switch case in the executeTool function that handles execution of retell_list_conversation_flows by calling the Retell API endpoint /list-conversation-flows via GET request.
    case "retell_list_conversation_flows": return retellRequest("/list-conversation-flows", "GET");
  • Tool schema definition specifying the name, description, and empty input schema for the retell_list_conversation_flows tool.
    { name: "retell_list_conversation_flows", description: "List all conversation flows.", inputSchema: { type: "object", properties: {} } },
  • src/index.ts:1283-1285 (registration)
    MCP server request handler for listing tools, which returns the tools array containing the schema for retell_list_conversation_flows.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });
  • Generic retellRequest helper function that makes authenticated HTTP requests to the Retell API, used by the tool handler to fetch the list of conversation flows.
    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