Skip to main content
Glama

get_assistant_files

Retrieve files linked to a specific assistant by providing the assistant ID. Simplify access to associated resources for VoiceAI integrations and custom applications.

Instructions

Get files associated with an assistant

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assistant_idYesAssistant ID

Implementation Reference

  • index.js:244-253 (registration)
    Registration of the 'get_assistant_files' tool, including its name, description, and input schema requiring 'assistant_id'.
    name: 'get_assistant_files', description: 'Get files associated with an assistant', inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] } },
  • Input schema for 'get_assistant_files' tool: requires assistant_id as string.
    inputSchema: { type: 'object', properties: { assistant_id: { type: 'string', description: 'Assistant ID' } }, required: ['assistant_id'] }
  • Handler implementation in executeTool: sets URL to fetch assistant files via backend API and performs GET request (common fetch logic follows).
    case 'get_assistant_files': url = `${this.baseUrl}/assistants/${args.assistant_id}/files`; break;

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