Skip to main content
Glama

delete_assistant_file

Remove a specific file from an assistant in VoiceAI-MCP-VAVicky to manage file associations and maintain organized assistant configurations.

Instructions

Delete a specific file from an assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID
file_idYesFile ID

Implementation Reference

  • The switch case within the executeTool method that handles the 'delete_assistant_file' tool. It constructs the API endpoint URL using the provided assistant_id and file_id, and sets the HTTP method to DELETE to remove the specified file from the assistant.
    case 'delete_assistant_file': url = `${this.baseUrl}/assistants/${args.assistant_id}/files/${args.file_id}`; method = 'DELETE'; break;
  • index.js:254-265 (registration)
    The tool registration entry in the ListToolsRequestSchema handler, which defines the tool name, description, and input schema for 'delete_assistant_file'.
    { 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'] } },
  • The 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'] }

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