vocea_list_voices
Retrieve a paginated list of cloned voices associated with your Vocea account. Use page and limit parameters to control results.
Instructions
List the authenticated user's cloned voices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| limit | No | Results per page (default 20) |
Implementation Reference
- src/index.ts:49-59 (registration)Registers the 'vocea_list_voices' tool with its name, description, and input schema (optional page and limit parameters) in the ListToolsRequestSchema handler.
{ name: "vocea_list_voices", description: "List the authenticated user's cloned voices.", inputSchema: { type: "object", properties: { page: { type: "number", description: "Page number (default 1)" }, limit: { type: "number", description: "Results per page (default 20)" }, }, }, }, - src/index.ts:135-141 (handler)Handles the 'vocea_list_voices' tool call by extracting page/limit arguments, calling vocea.voices.list() from the Vocea SDK, and returning the result as JSON text content.
case "vocea_list_voices": { const a = args as { page?: number; limit?: number }; const result = await vocea.voices.list({ page: a.page, limit: a.limit }); return { content: [{ type: "text", text: JSON.stringify(result) }], }; }