Skip to main content
Glama

delete_assistant_file

Remove a specific file from an assistant by specifying the assistant ID and file ID, ensuring precise file management within the VoiceAI-MCP-VAVicky server.

Instructions

Delete a specific file from an assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID
file_idYesFile ID

Implementation Reference

  • Switch case in the executeTool method that configures the URL and HTTP method (DELETE) for deleting a specific file from an assistant via the Vavicky API.
    case 'delete_assistant_file': url = `${this.baseUrl}/assistants/${args.assistant_id}/files/${args.file_id}`; method = 'DELETE'; break;
  • Input schema definition for the delete_assistant_file tool, specifying required parameters: assistant_id and file_id.
    inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, file_id: { type: 'string', description: 'File ID' } }, required: ['assistant_id', 'file_id'] }
  • index.js:254-265 (registration)
    Tool registration in the ListToolsRequestSchema handler, including name, description, and input schema.
    { name: 'delete_assistant_file', description: 'Delete a specific file from an assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' }, file_id: { type: 'string', description: 'File ID' } }, required: ['assistant_id', 'file_id'] } },

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/Business-On-Steroids/MCP-VoiceAI-WhiteLabel'

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