retell_list_chats
Retrieve and filter chat session records from the Retell AI voice and chat agent platform to review conversation history.
Instructions
List all chat sessions with optional filtering.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results to return | |
| pagination_key | No | Pagination key for fetching next page |
Implementation Reference
- src/index.ts:280-296 (registration)Registration of the retell_list_chats tool in the MCP tools array, including name, description, and input schema definition.{ name: "retell_list_chats", description: "List all chat sessions with optional filtering.", inputSchema: { type: "object", properties: { limit: { type: "integer", description: "Number of results to return" }, pagination_key: { type: "string", description: "Pagination key for fetching next page" } } } },
- src/index.ts:280-296 (schema)Input schema for retell_list_chats tool defining optional parameters: limit (integer) and pagination_key (string).{ name: "retell_list_chats", description: "List all chat sessions with optional filtering.", inputSchema: { type: "object", properties: { limit: { type: "integer", description: "Number of results to return" }, pagination_key: { type: "string", description: "Pagination key for fetching next page" } } } },
- src/index.ts:1147-1148 (handler)Handler implementation for retell_list_chats tool. Executes a GET request to the Retell API endpoint '/list-chat' using the generic retellRequest helper.case "retell_list_chats": return retellRequest("/list-chat", "GET");