delete_persona
Remove a persona permanently from the Tavus MCP Server to manage AI video generation and conversational AI resources.
Instructions
Delete a persona permanently
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| persona_id | Yes | Unique identifier for the persona |
Implementation Reference
- src/index.ts:990-999 (handler)The deletePersona handler method that executes the tool logic - takes a persona_id argument, makes a DELETE request to the API endpoint /personas/{persona_id}, and returns a success message
private async deletePersona(args: any) { const { persona_id } = args; await this.axiosInstance.delete(`/personas/${persona_id}`); return { content: [{ type: 'text', text: `Successfully deleted persona ${persona_id}`, }], }; } - src/index.ts:528-541 (registration)Tool registration defining 'delete_persona' with description 'Delete a persona permanently' and inputSchema specifying persona_id as a required string parameter
{ name: 'delete_persona', description: 'Delete a persona permanently', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'Unique identifier for the persona', }, }, required: ['persona_id'], }, }, - src/index.ts:736-737 (handler)Switch case handler that routes 'delete_persona' tool calls to the deletePersona method with request arguments
case 'delete_persona': return await this.deletePersona(request.params.arguments);