Skip to main content
Glama

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
NameRequiredDescriptionDefault
persona_idYesUnique identifier for the persona

Implementation Reference

  • 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'],
      },
    },
  • 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);

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/rakeshdavid/Tavus-MCP'

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